From 38d1a1862dcc26e284953fd383150816a183a7d5 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 25 May 2016 11:57:25 -0400 Subject: [PATCH] Bug 16462 - Change default sorting of circulation patron search results to patron name MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch changes the default sort of patron quick search results from the circulation header search or when searching for a patron during the hold process. To test: In Circulation: - Perform a search by name for a patron which will return multiple search results. - Confirm that the results are sorted by patron name. In the catalog: - Locate and place a hold on a title. - When prompted to select a patron to place the hold for, perform a search by name which will return multiple results. - Confirm that the results are sorted by patron name. Followed test plan, works as expected. Signed-off-by: Marc Véron Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- .../prog/en/includes/circ-patron-search-results.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc index cdd377c62b..eadeefbb76 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc @@ -4,7 +4,7 @@ window.document.location = $(this).data('url'); }); var table = $("#table_borrowers").dataTable($.extend(true, {}, dataTablesDefaults, { - "aaSorting": [ 1, "asc" ], + "aaSorting": [ 0, "asc" ], "sDom": "t", "iDisplayLength": -1 })); -- 2.39.5