From f92202bb46461cfda18b0a886a79d03eff9ee958 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 21 Feb 2015 20:40:31 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 13744: Fix datatables paging on 'Holds to pull' report The paging of the datatables on the 'holds to pull' report page is broken without this patch. To test: - Make sure that some holds are placed on available items in your installation - Go to the circulation start page - Open the 'holds to pull' report - Verify that the patch fixes the paging on the result table Also: Fixes "None" in the filter pull downs to be translatable. Signed-off-by: Nicole --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index c596ab3..1cf144e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -14,7 +14,8 @@ $(document).ready(function() { { "sType": "anti-the", "aTargets" : [ "anti-the" ] }, { "sType": "title-string", "aTargets" : [ "title-string" ] }, { "sType": "string", "aTargets": [ "string-sort" ] } //Target columns that use
separators and pull-down menus. - ] + ], + "sPaginationType": "full_numbers" })); holdst.fnAddFilters("filter"); [%# add separateData function to cleanse jQuery select lists by breaking apart strings glued with BR tags and then de-duplicating any repeated library codes %] @@ -36,7 +37,7 @@ $(document).ready(function() { [%# add SeparateData function into createSelect function, so that it does the createSelect on clean data %] function createSelect( data ) { data = separateData(data); - var r='', i, len=data.length; for ( i=0 ; i'+data[i]+''; } -- 1.7.10.4