Bug 40905

Summary: Past unique holidays not shown when enabling Show past checkbox
Product: Koha Reporter: Slava Shishkin <slavashishkin>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 40905: Fix "Show past entries" checkbox in unique holidays

Description Slava Shishkin 2025-09-30 11:53:20 UTC
In Tools → Calendar → Unique holidays, enabling the Show past entries checkbox does not work correctly.

Steps to reproduce:
1. Go to Tools → Calendar
2. Select a branch with past unique holidays
3. In the section Unique holidays, click the checkbox Show past entries
4. Past entries are not displayed
Comment 1 Slava Shishkin 2025-09-30 12:21:49 UTC
Created attachment 187094 [details] [review]
Bug 40905: Fix "Show past entries" checkbox in unique holidays

Test plan:
1. Go to Tools → Calendar.
2. Select a branch with past unique holidays.
   If you don't have past closed days: Create a new holiday in a past month or so.
3. In the Unique holidays section, enable "Show past entries".
4. Past entries are not displayed.
5. Apply patch:
6. Repeat the steps above.
7. Past entries are displayed immediately.