feat(branch): add Show All Holidays checkbox to control holiday display range

Added a boolean field field_show_all_holidays to the Branch content type. This allows content editors to force the display of all holiday hours on the branch page, regardless of the date range (previously limited to 14 days before and 1 day after). Field is added to the 'Branch Hours' group and enabled by default in the form display. Steps to Test "Show All Holidays" Functionality

  • Log in as a user with administrator permissions.
  • Go to the node type Branch
  • Click Edit on the node.
  • In the Holiday Hours section:
  • Add new holiday entries with dates outside the default display range (i.e. more than 14 days in the future or past).
  • Scroll to the "Show All Holidays" checkbox.
  • Check the box: ✔️ Show All Holidays
  • Click Save to save the node.
  • On the node view page, click "See more hours".
  • Confirm that all holiday entries — including those outside the default 14-day range — are now visible. image

Merge request reports

Loading