From adfdc132eb71bb08ac374a5b9647039790f893b7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 3 Feb 2014 09:40:28 +0100 Subject: [PATCH] Bug 11605: Fix regression Bug 11314 overrides the iDisplayLength and aLengthMenu values and should be kept. Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index e504334..b537148 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -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 }, ], -- 1.7.10.4