Bugzilla – Attachment 180194 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: Adjust the result table
Bug-39081-Adjust-the-result-table.patch (text/plain), 2.25 KB, created by
Magnus Enger
on 2025-04-01 13:58:35 UTC
(
hide
)
Description:
Bug 39081: Adjust the result table
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2025-04-01 13:58:35 UTC
Size:
2.25 KB
patch
obsolete
>From dd1216d82a987fff09fdd1f48ca313822ec7dfe4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 10 Mar 2025 16:08:40 +0100 >Subject: [PATCH] Bug 39081: Adjust the result table > >Signed-off-by: Magnus Enger <magnus@libriotech.no> >--- > .../prog/en/modules/tools/batch_extend_due_dates.tt | 9 +++------ > 1 file changed, 3 insertions(+), 6 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 3be0c7c6e9..52b9c1fb4f 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 >@@ -228,11 +228,11 @@ > <tbody> > [% FOR checkout IN checkouts %] > <tr> >- <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> > </tr> > [% END %] >@@ -275,10 +275,7 @@ > }); > > $("#checkouts_result").kohaTable({ >- columnDefs: [ >- { targets: [0, 3], orderable: false, searchable: false }, >- { targets: [1], type: "num-html" }, >- ], >+ columnDefs: [{ targets: [2], orderable: false, searchable: false }], > dom: "t", > order: [], > paginate: false, >-- >2.34.1
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