From 911127588b4c0b71a18f1f474324f302447eba09 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 Signed-off-by: Galen Charlton --- .../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 9be145d1f6..dc48b798df 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