[Koha-patches] [PATCH] Bug 11719 [Follow-up] Use new DataTables include in serials templates

Owen Leonard oleonard at myacpl.org
Tue Feb 25 17:02:58 CET 2014


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.
---
 .../prog/en/modules/serials/serials-search.tt      |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
index e88533b..561e032 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
@@ -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"
-- 
1.7.9.5


More information about the Koha-patches mailing list