From 98e27ef8b9b73b8ef9f60f1cd509f965e2857637 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 10 Feb 2025 18:59:40 +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 079c033c31a..c7a84aeaa01 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 @@ -170,7 +170,7 @@   Due date - Title + Title Item type Home library Checked out on @@ -182,13 +182,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 %] -- 2.39.5