From 0c1c426986e8016ae09e14091c34123b75e1ad9f Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 6 Aug 2014 17:36:18 -0500 Subject: [PATCH] Bug 12432 [QA Followup] - Make "All" tab work when switching back to it Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/reports/guided_reports_start.tt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 46ae3654af..eebf0867a2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -89,6 +89,10 @@ $(document).ready(function(){ var g_id = $(ui.newTab).children().attr('id'); var g_name = $(ui.newTab).text(); + if ( g_name == _("All") ) { + g_id = ""; + g_name = ""; + } if (g_id && g_id.length > 0) { rtable.fnFilter('^' + g_name + '$', 4, true, true, true, false); -- 2.39.5