Bugzilla – Attachment 180252 Details for
Bug 39450
OPAC ILL requests table should sort on ID desc by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39450: Sort by ILL request ID DESC by default
Bug-39450-Sort-by-ILL-request-ID-DESC-by-default.patch (text/plain), 1.48 KB, created by
Brendan Gallagher
on 2025-04-02 08:05:32 UTC
(
hide
)
Description:
Bug 39450: Sort by ILL request ID DESC by default
Filename:
MIME Type:
Creator:
Brendan Gallagher
Created:
2025-04-02 08:05:32 UTC
Size:
1.48 KB
patch
obsolete
>From 6405121d17e88ed856adc0448c522e3564bbfacd Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 25 Mar 2025 16:00:32 +0000 >Subject: [PATCH] Bug 39450: Sort by ILL request ID DESC by default > >To test: >1) Enable ILLModule >2) Create 2 ILL requests >3) Access the ILL table on the OPAC: >http://localhost:8080/cgi-bin/koha/opac-illrequests.pl >4) Notice the table is sorted on the 'Requested from' column. >5) Apply patch, repeat. Notice it's now showing the most recent requests first (sorting on ID DESC). > >This is particularly important for Koha instances where patrons access this OPAC page often, and have multiple ILL backends installed > >Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt >index b3a5bfad6c..18b5750326 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt >@@ -336,7 +336,7 @@ > <script> > $("#illrequestlist").kohaTable({ > columnDefs: [{ targets: [-1], orderable: false, searchable: false }], >- order: [[3, "desc"]], >+ order: [[0, "desc"]], > }); > $("#backend-dropdown-options").removeClass("nojs"); > [% IF services_json.length > 0 %] >-- >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 39450
:
179687
| 180252