Bugzilla – Attachment 181257 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: (follow-up) Use "data-order" instead of "data-sort"
Bug-39081-follow-up-Use-data-order-instead-of-data.patch (text/plain), 3.61 KB, created by
Owen Leonard
on 2025-04-22 12:33:43 UTC
(
hide
)
Description:
Bug 39081: (follow-up) Use "data-order" instead of "data-sort"
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-04-22 12:33:43 UTC
Size:
3.61 KB
patch
obsolete
>From ef602a0bedd2808c8036d374b9f7593d8ced47d9 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 15 Apr 2025 12:28:41 +0000 >Subject: [PATCH] Bug 39081: (follow-up) Use "data-order" instead of > "data-sort" > >Both attribute names work the same but "data-order" is more frequent in >our templates. >--- > .../prog/en/modules/tools/batch_extend_due_dates.tt | 10 +++++----- > 1 file changed, 5 insertions(+), 5 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 8785ba0c024..e2fe82ee1a6 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 >@@ -181,13 +181,13 @@ > [% FOR checkout IN checkouts %] > <tr> > <td><input type="checkbox" name="issue_id" value="[% checkout.issue_id | html %]" /></td> >- <td data-sort="[% checkout.date_due | html %]">[% checkout.date_due | $KohaDates as_due_date => 1 %]</td> >+ <td data-order="[% 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 data-sort="[% checkout.issuedate | html %]">[% checkout.issuedate | $KohaDates %]</td> >+ <td data-order="[% checkout.issuedate | html %]">[% checkout.issuedate | $KohaDates %]</td> > <td>[% Branches.GetName( checkout.branchcode ) | html %]</td> >- <td data-sort="[% new_due_dates.shift | html %]"> [% new_due_dates.shift | $KohaDates as_due_date => 1 %] </td> >+ <td data-order="[% new_due_dates.shift | html %]"> [% new_due_dates.shift | $KohaDates as_due_date => 1 %] </td> > </tr> > [% END %] > </tbody> >@@ -228,11 +228,11 @@ > <tbody> > [% FOR checkout IN checkouts %] > <tr> >- <td data-sort="[% checkout.date_due | html %]">[% checkout.date_due | $KohaDates as_due_date => 1 %]</td> >+ <td data-order="[% 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 data-sort="[% checkout.issuedate | html %]">[% checkout.issuedate | $KohaDates %]</td> >+ <td data-order="[% checkout.issuedate | html %]">[% checkout.issuedate | $KohaDates %]</td> > <td>[% Branches.GetName( checkout.branchcode ) | html %]</td> > </tr> > [% END %] >-- >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
|
177947
|
179122
|
179123
|
179124
|
180192
|
180193
|
180194
|
180195
|
180845
|
180846
|
180847
|
180848
|
180960
|
181253
|
181254
|
181255
|
181256
| 181257