Bugzilla – Attachment 175211 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.17 KB, created by
David Nind
on 2024-12-04 22:45:55 UTC
(
hide
)
Description:
Bug 38596: (bug 36640 follow-up): Restore previous order sequence behaviour - OPAC
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-12-04 22:45:55 UTC
Size:
1.17 KB
patch
obsolete
>From 789e37a1e6bca03688b8564d0036472b2d76d923 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 > >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> >--- > 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