From 1931ff465317aa2bf8d31c0c817ff0c4d75ea8dc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 5 Apr 2016 07:40:21 +0100 Subject: [PATCH] Bug 15832: Remove empty string from the filters On each cell, the split will generate a new empty entry. This patch removes that entry. Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher --- .../intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 3 +-- 1 file changed, 1 insertion(+), 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 46f3088cb3..a71b582792 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -29,8 +29,7 @@ $(document).ready(function() { var split_array = cD[j].split(/
/gi); for ( k=0 ; k 0 ) { new_array.push(str); } } -- 2.39.5