From 30ac566e450dd6c86d32abe446318566f9522c14 Mon Sep 17 00:00:00 2001
From: Kyle M Hall <kyle@bywatersolutions.com>
Date: Wed, 6 Aug 2014 17:36:18 -0500
Subject: [PATCH] [PASSED QA] Bug 12432 [QA Followup] - Make "All" tab work
 when switching back to it

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
---
 .../intranet-tmpl/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 46ae365..eebf086 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);
-- 
1.9.1