From 47b516501eb6b88b4c88a7f40b08c9c2ed0de74f Mon Sep 17 00:00:00 2001 From: Aleisha 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 Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher --- 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 814c6350f4..c0fb96686e 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 ], @@ -113,7 +114,7 @@ $(document).ready(function() {   Card - Firstname + First name Surname Address Category -- 2.39.5