Bugzilla – Attachment 177709 Details for
Bug 39081
Fix date and title sorting on batch extend due dates page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39081: Fix date and title sorting on batch extend due dates page
Bug-39081-Fix-date-and-title-sorting-on-batch-exte.patch (text/plain), 3.39 KB, created by
Owen Leonard
on 2025-02-10 19:12:38 UTC
(
hide
)
Description:
Bug 39081: Fix date and title sorting on batch extend due dates page
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-02-10 19:12:38 UTC
Size:
3.39 KB
patch
obsolete
>From 98e27ef8b9b73b8ef9f60f1cd509f965e2857637 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 @@ > <tr> > <th> </th> > <th>Due date</th> >- <th>Title</th> >+ <th class="anti-the">Title</th> > <th>Item type</th> > <th>Home library</th> > <th>Checked out on</th> >@@ -182,13 +182,13 @@ > [% FOR checkout IN checkouts %] > <tr> > <td><input type="checkbox" name="issue_id" value="[% checkout.issue_id | html %]" /></td> >- <td>[% checkout.date_due | $KohaDates as_due_date => 1 %]</td> >+ <td data-sort="[% checkout.date_due | html %]">[% checkout.date_due | $KohaDates as_due_date => 1 %]</td> > <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% checkout.item.biblio.biblionumber | uri %]">[% checkout.item.biblio.title | html %]</a></td> > <td>[% ItemTypes.GetDescription( checkout.item.effective_itemtype ) | html %]</td> > <td>[% checkout.item.home_branch.branchname | html %]</td> >- <td>[% checkout.issuedate | $KohaDates %]</td> >+ <td data-sort="[% checkout.issuedate | html %]">[% checkout.issuedate | $KohaDates %]</td> > <td>[% Branches.GetName( checkout.branchcode ) | html %]</td> >- <td> >+ <td data-sort="[% new_due_dates.shift | html %]"> > [% new_due_dates.shift | $KohaDates as_due_date => 1 %] > </td> > </tr> >-- >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 39081
: 177709