Bugzilla – Attachment 124020 Details for
Bug 28891
RecordStaffUserOnCheckout display a new column but default sort column isn't changed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28891: (bug 23916 follow up) Always use 'Checkout on' as default Checkout history sort column
Bug-28891-bug-23916-follow-up-Always-use-Checkout-.patch (text/plain), 1.49 KB, created by
Didier Gautheron
on 2021-08-23 14:31:31 UTC
(
hide
)
Description:
Bug 28891: (bug 23916 follow up) Always use 'Checkout on' as default Checkout history sort column
Filename:
MIME Type:
Creator:
Didier Gautheron
Created:
2021-08-23 14:31:31 UTC
Size:
1.49 KB
patch
obsolete
>From 811217f65fd52e0824fb6b53c7513ccdd370fc9c Mon Sep 17 00:00:00 2001 >From: Didier Gautheron <didier.gautheron@biblibre.com> >Date: Mon, 23 Aug 2021 15:19:03 +0200 >Subject: [PATCH] Bug 28891: (bug 23916 follow up) Always use 'Checkout on' as > default Checkout history sort column > >To test: >1 - Unset RecordStaffUserOnCheckout >2 - Check out an item >3 - Display Checkout history, table is sorted by 'Checkout on' column >4 - Set RecordStaffUserOnCheckout >5 - Display Checkout history, table is sorted by 'Renewed' column >6 - Apply patch >7 - Redo 1, 3, 4 and 5, table is always sorted by 'Checkout on' >--- > .../intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >index 23551deb63..f7790e7c4d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >@@ -138,7 +138,11 @@ > [% END %] > var table = KohaTable("table_issues", { > "sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>', >+ [% IF Koha.Preference('RecordStaffUserOnCheckout') %] >+ "aaSorting": [[ 5, "desc" ]], >+ [% ELSE %] > "aaSorting": [[ 4, "desc" ]], >+ [% END %] > "sPaginationType": "full_numbers" > }, columns_settings); > }); >-- >2.20.1
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 28891
:
124020
|
124215