@@ -, +, @@ default - Perform a search of subscriptions which will return multiple results. - Confirm that the table of open subscriptions is sorted by default by title ascending. - Confirm the same for the table of closed subscriptions. --- koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt | 2 ++ 1 file changed, 2 insertions(+) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt @@ -445,6 +445,7 @@ $(document).ready(function() { var osrlt = $("#opened table").dataTable($.extend(true, {}, dataTablesDefaults, { "sPaginationType": "four_button", + "order": [[ 2, "asc" ]], "aoColumnDefs": [ { 'bSortable': false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }, { "sType": "title-string", "aTargets" : [ "title-string" ] }, @@ -454,6 +455,7 @@ var csrlt = $("#closed table").dataTable($.extend(true, {}, dataTablesDefaults, { // FIXME sort function of additional_fields! + "order": [[ 2, "asc" ]], "sPaginationType": "four_button", "aoColumnDefs": [ { 'bSortable': false, 'aTargets': [ 'NoSort' ] }, --