From 96c2b003c346cd958fcbc437801e138ff04a9293 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 12 Feb 2025 16:52:06 +0000 Subject: [PATCH] Bug 39081: Fix date and title sorting on batch extend due dates page This patch updates sorting of the batch extend due dates page so that dates and titles are sorted correctly. To test, apply the patch and go to Tools -> Batch extend due dates. - Submit parameters which will return multiple results - On the "Confirm selection" page, test the sorting of these columns: - Due date - Title - Checked out on - New due date Sponsored-by: Athens County Public Libraries --- .../prog/en/modules/tools/batch_extend_due_dates.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt index e4188a8edc8..499bbd92d55 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt @@ -169,7 +169,7 @@   Due date - Title + Title Item type Home library Checked out on @@ -181,13 +181,13 @@ [% FOR checkout IN checkouts %] - [% checkout.date_due | $KohaDates as_due_date => 1 %] + [% checkout.date_due | $KohaDates as_due_date => 1 %] [% checkout.item.biblio.title | html %] [% ItemTypes.GetDescription( checkout.item.effective_itemtype ) | html %] [% checkout.item.home_branch.branchname | html %] - [% checkout.issuedate | $KohaDates %] + [% checkout.issuedate | $KohaDates %] [% Branches.GetName( checkout.branchcode ) | html %] - [% new_due_dates.shift | $KohaDates as_due_date => 1 %] + [% new_due_dates.shift | $KohaDates as_due_date => 1 %] [% END %] -- 2.39.5