@@ -, +, @@ datatables --- koha-tmpl/intranet-tmpl/prog/en/includes/datatables-strings.inc | 1 + koha-tmpl/intranet-tmpl/prog/en/includes/datatables.inc | 3 ++- koha-tmpl/intranet-tmpl/prog/en/js/datatables.js | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/datatables-strings.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/datatables-strings.inc @@ -13,6 +13,7 @@ var MSG_DT_PROCESSING = _("Processing..."); var MSG_DT_SEARCH = _("Search:"); var MSG_DT_ZERO_RECORDS = _("No matching records found"); + var MSG_DT_ALL = _("All"); var CONFIG_EXCLUDE_ARTICLES_FROM_SORT = _("a an the"); //]]> --- a/koha-tmpl/intranet-tmpl/prog/en/includes/datatables.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/datatables.inc @@ -14,7 +14,8 @@ var MSG_DT_PROCESSING = _("Processing..."); var MSG_DT_SEARCH = _("Search:"); var MSG_DT_ZERO_RECORDS = _("No matching records found"); + var MSG_DT_ALL = _("All"); var CONFIG_EXCLUDE_ARTICLES_FROM_SORT = _("a an the"); //]]> - + --- a/koha-tmpl/intranet-tmpl/prog/en/js/datatables.js +++ a/koha-tmpl/intranet-tmpl/prog/en/js/datatables.js @@ -23,7 +23,8 @@ var dataTablesDefaults = { "sSearch" : window.MSG_DT_SEARCH || "Search:", "sZeroRecords" : window.MSG_DT_ZERO_RECORDS || "No matching records found" }, - "sDom": '<"top pager"ilpf>t<"bottom pager"ip>' + "sDom": '<"top pager"ilpf>t<"bottom pager"ip>', + "aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, window.MSG_DT_ALL || "All"]] }; --