Bugzilla – Attachment 49390 Details for
Bug 15196
Order patrons on patron lists by name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15196: Default sorting of patron lists
Bug-15196-Default-sorting-of-patron-lists.patch (text/plain), 1.78 KB, created by
Jonathan Druart
on 2016-03-21 14:56:13 UTC
(
hide
)
Description:
Bug 15196: Default sorting of patron lists
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-21 14:56:13 UTC
Size:
1.78 KB
patch
obsolete
>From 30280f7a9f3acccc8e3029a9f92c5b75c4ca1261 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Sun, 20 Mar 2016 23:47:30 +0000 >Subject: [PATCH] Bug 15196: Default sorting of patron lists > >This patch sorts users by surname. >Also string fix -> Firstname to First name in column heading > >To test: >1) Go to a patron list >2) Confirm it is sorted by surname >3) Add a patron that will need to slot in the middle somewhere >4) Confirm the data table sorts it correctly >5) Confirm column heading change > >Sponsored-by: Catalyst IT > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >index 27b68a7..a2b3d94 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >@@ -14,6 +14,7 @@ $(document).ready(function() { > $('#patrons_to_add_fieldset').hide(); > > $('#patron-list-table').dataTable($.extend(true, {}, dataTablesDefaults, { >+ "order": [[ 3, "asc" ]], > "aoColumns": [ > null,null,null,null,null,null,null,{ "sType": "title-string" },null > ], >@@ -111,7 +112,7 @@ $(document).ready(function() { > <tr> > <th> </th> > <th>Card</th> >- <th>Firstname</th> >+ <th>First name</th> > <th>Surname</th> > <th>Address</th> > <th>Category</th> >-- >2.7.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 15196
:
49364
| 49390