bug 9916: (follow-up) restore default sort order on OPAC tags list
authorGalen Charlton <gmc@esilibrary.com>
Mon, 19 Aug 2013 14:55:12 +0000 (14:55 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 19 Aug 2013 14:55:12 +0000 (14:55 +0000)
(As a side-note, I actually prefer descending date as the default
sort order, but better to do that explicitly rather than have the
patch series for bug 9916 change visible default sorts.)

To test:

[1] Log into the OPAC, then go to the list of OPAC tags.
[2] Verify that the default sort order is ascending date
    added.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tt

index 97b33a9..16a40e4 100644 (file)
@@ -23,7 +23,7 @@
 //<![CDATA[
     $(document).ready(function(){
         $("#mytagst").dataTable($.extend(true, {}, dataTablesDefaults, {
-            "aaSorting": [[ 2, "desc" ]],
+            "aaSorting": [[ 2, "asc" ]],
             "aoColumnDefs": [
               { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }
             ],