Bugzilla – Attachment 82683 Details for
Bug 21399
Sort patron fines in OPAC by date descending as a default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21399: Sort patron fines in OPAC by date descending as a default
Bug-21399-Sort-patron-fines-in-OPAC-by-date-descen.patch (text/plain), 1.33 KB, created by
Owen Leonard
on 2018-11-27 19:29:30 UTC
(
hide
)
Description:
Bug 21399: Sort patron fines in OPAC by date descending as a default
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2018-11-27 19:29:30 UTC
Size:
1.33 KB
patch
obsolete
>From 8e3e7179db0358de174a01a583dcbed084938823 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 27 Nov 2018 19:25:09 +0000 >Subject: [PATCH] Bug 21399: Sort patron fines in OPAC by date descending as a > default > >This patch modifies the DataTables configuration of the logged-in user's >"Fines and charges" table in the OPAC so that the table is sorted by >date, descending. > >To test, apply the patch and log in to the OPAC as a user with multiple >fines. Go to the "your fines" page and confirm that the table is sorted >by default on the first column with the newest entries first. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >index 205921d..23229a0 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >@@ -193,7 +193,8 @@ $( document ).ready(function() { > $("#finestable").dataTable($.extend(true, {}, dataTablesDefaults, { > "columnDefs": [ > { "type": "title-string", "targets" : [ "title-string" ] } >- ] >+ ], >+ "order": [[ 0, "desc" ]] > } )); > > $(".paypal").on("click", function() { >-- >2.1.4
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 21399
:
82683
|
83466
|
83849