From 783cece92defe849a438314be9e96e28c9c3ad9f 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 (cherry picked from commit 911127588b4c0b71a18f1f474324f302447eba09) Signed-off-by: Fridolin Somers --- .../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 aa0f8e6727..08562afb61 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