From bd35b39b6ad8cedb586a808ca805be75f7b49053 Mon Sep 17 00:00:00 2001 From: Brendan Lawlor Date: Tue, 22 Jul 2025 16:22:33 +0000 Subject: [PATCH] Bug 27248: Fix display of new due date column in preview table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch removes a duplicate call to new_due_dates.shift so that the new due date column shows the date for all selected checkouts. To test: 1. Have some random checkouts 2. Use the batch_extend_due_dates tool with preview results checked 3. Notice only have the selected checkouts have data in the new due date column 4. Apply patch and retry seteps 2-3 5. All selected checkouts now show a date in the new due date column Signed-off-by: Anneli Österman --- .../prog/en/modules/tools/batch_extend_due_dates.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 2ba3f7bfc0..472c1694fb 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,6 +170,7 @@ Select all | Clear all + [% new_due_dates.size %] @@ -193,7 +194,7 @@ - + [% END %] -- 2.39.5
[% checkout.item.home_branch.branchname | html %] [% 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 %]