Bugzilla – Attachment 187094 Details for
Bug 40905
Past unique holidays not shown when enabling Show past checkbox
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40905: Fix "Show past entries" checkbox in unique holidays
Bug-40905-Fix-Show-past-entries-checkbox-in-unique.patch (text/plain), 1.48 KB, created by
Slava Shishkin
on 2025-09-30 12:21:49 UTC
(
hide
)
Description:
Bug 40905: Fix "Show past entries" checkbox in unique holidays
Filename:
MIME Type:
Creator:
Slava Shishkin
Created:
2025-09-30 12:21:49 UTC
Size:
1.48 KB
patch
obsolete
>From c827d2aeb0e801cd486811a04fc0839094327bca Mon Sep 17 00:00:00 2001 >From: Slava Shishkin <slavashishkin@gmail.com> >Date: Tue, 30 Sep 2025 15:19:50 +0300 >Subject: [PATCH] Bug 40905: Fix "Show past entries" checkbox in unique > holidays >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt >index 855131c8f82..2105fbdd9a0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt >@@ -631,8 +631,10 @@ > $("#holidaysyearlyrepeatable").kohaTable(dt_params); > $("#holidaysunique").kohaTable(dt_params); > >+ let unique_table = $("#holidaysunique").DataTable(); >+ > $(".show_past").on("change", function(){ >- tables.draw(); >+ unique_table.draw(); > }); > > $("a.helptext").click(function(){ >-- >2.51.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40905
: 187094