Bugzilla – Attachment 153541 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.27 KB, created by
Nick Clemens (kidclamp)
on 2023-07-17 12:52:06 UTC
(
hide
)
Description:
Bug 34133: Set default sort on first column (ID) desc
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-07-17 12:52:06 UTC
Size:
1.27 KB
patch
obsolete
>From d5c4e2c61c337c0827ebad2f6229f898f0ff61b8 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. >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > 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.30.2
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