Bug 11605: (follow-up) fix regression
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 3 Feb 2014 08:40:28 +0000 (09:40 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 10 Mar 2014 19:07:00 +0000 (19:07 +0000)
Bug 11314 overrides the iDisplayLength and aLengthMenu values and should
be kept.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt

index e504334..b537148 100644 (file)
@@ -20,6 +20,8 @@
         var pendingt = $("#pendingt").dataTable($.extend(true, {}, dataTablesDefaults, {
             "bStateSave": true,
             "iCookieDuration": 60*60*24*1000, // 1000 days
+            "iDisplayLength": 10,
+            "aLengthMenu": [[5, 10, 20, 50, 100, -1], [5, 10, 20, 50, 100, _("All")]],
             "aoColumnDefs": [
                 { "aTargets": [ 4, 9, 10 ], "bSortable": false, "bSearchable": false },
             ],
@@ -61,6 +63,8 @@
         var receivedt = $("#receivedt").dataTable($.extend(true, {}, dataTablesDefaults, {
             "bStateSave": true,
             "iCookieDuration": 60*60*24*1000, // 1000 days
+            "iDisplayLength": 10,
+            "aLengthMenu": [[5, 10, 20, 50, 100, -1], [5, 10, 20, 50, 100, _("All")]],
             "aoColumnDefs": [
                 { "aTargets": [ 5, -1 ], "bSortable": false, "bSearchable": false },
             ],