Bug 9747: sorting z3950 search results in acquisition
authorFridolyn SOMERS <fridolyn.somers@biblibre.com>
Wed, 5 Jun 2013 11:49:09 +0000 (13:49 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 9 Oct 2013 04:22:28 +0000 (04:22 +0000)
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 <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt

index e1df515..a86b038 100644 (file)
@@ -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
     } ) );