Bugzilla – Attachment 175443 Details for
Bug 38596
DataTable - previous order sequence behaviour not restored at the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38596: (bug 36640 follow-up): Restore previous order sequence behaviour - OPAC
Bug-38596-bug-36640-follow-up-Restore-previous-ord.patch (text/plain), 1.27 KB, created by
Marcel de Rooy
on 2024-12-13 10:36:54 UTC
(
hide
)
Description:
Bug 38596: (bug 36640 follow-up): Restore previous order sequence behaviour - OPAC
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-12-13 10:36:54 UTC
Size:
1.27 KB
patch
obsolete
>From edc0d3ec2b49131c528d399ac356b754deb51485 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 2 Dec 2024 12:48:08 +0100 >Subject: [PATCH] Bug 38596: (bug 36640 follow-up): Restore previous order > sequence behaviour - OPAC >Content-Type: text/plain; charset=utf-8 > >See commit e76c5c0145f1575254603ba507fbea339cfb4e82 > Bug 36640: Restore previous order sequence behaviour > >Test plan: >Go to http://localhost:8080/cgi-bin/koha/opac-detail.pl?biblionumber=1 >Click on the header to modify the order, click again, then again. >It should always be asc or desc, and you should see the corresponding >arrows. > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > koha-tmpl/opac-tmpl/bootstrap/js/datatables.js | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js b/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js >index ec44f993a5..58a7d228ac 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js >+++ b/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js >@@ -54,6 +54,7 @@ var dataTablesDefaults = { > }); > } > }; >+DataTable.defaults.column.orderSequence = ['asc', 'desc']; > > $.fn.dataTable.ext.buttons.clearFilter = { > fade: 100, >-- >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 38596
:
175050
|
175180
|
175211
| 175443