From 30ca2b796c5b16d0eef43f06beaf3ec895b63a74 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 Signed-off-by: Magnus Enger Signed-off-by: Baptiste Wojtkowski --- .../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 e4188a8e..499bbd92 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.30.2