Bug 16462 - Change default sorting of circulation patron search results to patron name
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 <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
1f2dcfd2e9
commit
38d1a1862d
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
window.document.location = $(this).data('url');
|
window.document.location = $(this).data('url');
|
||||||
});
|
});
|
||||||
var table = $("#table_borrowers").dataTable($.extend(true, {}, dataTablesDefaults, {
|
var table = $("#table_borrowers").dataTable($.extend(true, {}, dataTablesDefaults, {
|
||||||
"aaSorting": [ 1, "asc" ],
|
"aaSorting": [ 0, "asc" ],
|
||||||
"sDom": "t",
|
"sDom": "t",
|
||||||
"iDisplayLength": -1
|
"iDisplayLength": -1
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in a new issue