Bug 11555: (follow-up) use 20 rather 25 for one of the default DT row counts
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 24 Jan 2014 11:05:57 +0000 (12:05 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 10 Mar 2014 18:50:51 +0000 (18:50 +0000)
If you have a look at git grep aLengthMenu, you will see we choose 20
instead of 25.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js

index cc809c1..faab715 100644 (file)
@@ -24,7 +24,7 @@ var dataTablesDefaults = {
         "sZeroRecords"      : window.MSG_DT_ZERO_RECORDS || "No matching records found"
     },
     "sDom": '<"top pager"ilpf>t<"bottom pager"ip>',
-    "aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, window.MSG_DT_ALL || "All"]]
+    "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, window.MSG_DT_ALL || "All"]]
 };