Bugzilla – Attachment 83466 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.47 KB, created by
Devinim
on 2018-12-21 15:33:12 UTC
(
hide
)
Description:
Bug 21399: Sort patron fines in OPAC by date descending as a default
Filename:
MIME Type:
Creator:
Devinim
Created:
2018-12-21 15:33:12 UTC
Size:
1.47 KB
patch
obsolete
>From abb159309152fb507215b0361d2c9b29d200e97b 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 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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. > >Signed-off-by: Nazlı Ãetin <nazli@devinim.com.tr> >--- > 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 205921dee11..23229a04853 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.11.0
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