Bugzilla – Attachment 185302 Details for
Bug 27248
Allow to use list of barcodes/itemnumbers with Batch extend due dates tool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27248: Fix display of new due date column in preview table
Bug-27248-Fix-display-of-new-due-date-column-in-pr.patch (text/plain), 2.39 KB, created by
OpenFifth Sandboxes
on 2025-08-11 07:37:30 UTC
(
hide
)
Description:
Bug 27248: Fix display of new due date column in preview table
Filename:
MIME Type:
Creator:
OpenFifth Sandboxes
Created:
2025-08-11 07:37:30 UTC
Size:
2.39 KB
patch
obsolete
>From bd35b39b6ad8cedb586a808ca805be75f7b49053 Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >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 <anneli.osterman@koha-suomi.fi> >--- > .../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 @@ > <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a> > | <a id="clearall" href="#"><i class="fa fa-times"></i> Clear all</a> > </div> >+ [% new_due_dates.size %] > <table id="checkouts"> > <thead> > <tr> >@@ -193,7 +194,7 @@ > <td>[% checkout.item.home_branch.branchname | html %]</td> > <td data-order="[% checkout.issuedate | html %]">[% checkout.issuedate | $KohaDates %]</td> > <td>[% Branches.GetName( checkout.branchcode ) | html %]</td> >- <td data-order="[% new_due_dates.shift | html %]"> [% new_due_dates.shift | $KohaDates as_due_date => 1 %] </td> >+ <td data-order="[% new_due_dates.0 | html %]"> [% new_due_dates.shift | $KohaDates as_due_date => 1 %] </td> > </tr> > [% END %] > </tbody> >-- >2.39.5
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 27248
:
184562
|
184563
|
185301
| 185302