Bugzilla – Attachment 152886 Details for
Bug 34133
ILL table should be sorted by request id descending by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34133: Set default sort on first column (ID) desc
Bug-34133-Set-default-sort-on-first-column-ID-desc.patch (text/plain), 1.21 KB, created by
Magnus Enger
on 2023-06-30 07:34:40 UTC
(
hide
)
Description:
Bug 34133: Set default sort on first column (ID) desc
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2023-06-30 07:34:40 UTC
Size:
1.21 KB
patch
obsolete
>From a18327d359123aaebbb698b6259d568eddc48647 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 27 Jun 2023 15:00:00 +0000 >Subject: [PATCH] Bug 34133: Set default sort on first column (ID) desc > >Test plan: > >Before applying patch: >* Open incognito at /cgi-bin/koha/ill/ill-requests.pl, >* Verify order is by ASC (lowest ID first) >* Close incognito > >Apply patch, then: >* Open incognito at /cgi-bin/koha/ill/ill-requests.pl, >* Verify order is by DESC (highest ID first) > >Signed-off-by: Magnus Enger <magnus@libriotech.no> >Followed the test plan from Bugzilla, and added it above. >Works as advertised. >--- > koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js >index 61ed8aaa45..9419b0fa5d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js >@@ -192,6 +192,7 @@ $(document).ready(function() { > 'id_prefix', > 'patron' > ], >+ "order": [[0, 'desc']], > "stateSave": true, // remember state on page reload > "columns": [ > { >-- >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 34133
:
152751
|
152848
|
152886
|
153541