From 7a39fa7b682c18e01823e5a538cf030970d10250 Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Wed, 5 Jun 2013 13:49:09 +0200 Subject: [PATCH] Bug 9747: sorting z3950 search results in acquisition Adds NSB/NSE sort on z3950 seach results in acquisition module. Also adds default sorting on title column like in cataloguing module. Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt index e1df5150cc..a86b038b2f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt @@ -13,7 +13,9 @@ var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, { "aoColumnDefs": [ { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, + { "aTargets": [ 1 ], "sType": "nsb-nse" }, ], + "aaSorting": [[ 1, "asc" ]], "bPaginate": false } ) ); -- 2.39.5