Bug 11719: (follow-up) fix column sorting configuration
authorOwen Leonard <oleonard@myacpl.org>
Tue, 25 Feb 2014 15:58:40 +0000 (10:58 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 28 Apr 2014 18:28:37 +0000 (18:28 +0000)
This patch corrects column sorting configuration to avoid an error when
sorting on the call number column. Also changed: removed obsolete UK
sort mention.

To test, search for serial subscriptions. Test sorting on all columns in
the results table with and without the RoutingSerials preference
enabled. Sorting should work correctly without error.

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt

index e88533b..561e032 100644 (file)
@@ -10,9 +10,6 @@
 <script type="text/javascript">
 //<![CDATA[
  $(document).ready(function() {
-    [% IF (dateformat == 'metric') %]
-        dt_add_type_uk_date();
-    [% END %]
     var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, {
         [% IF ( routing && CAN_user_serials_routing ) %]
             "aoColumnDefs": [
@@ -24,7 +21,7 @@
             ],
         [% END %]
         "aoColumns": [
-            null,{ "sType": "anti-the" },null,null,null,{ "sType": "title-string" },
+            null,{ "sType": "anti-the" },null,null,null,null,{ "sType": "title-string" }
             [% IF ( routing && CAN_user_serials_routing ) %],null[% END %],null,null
         ],
         "sPaginationType": "four_button"