Bug 12432 [QA Followup] - Make "All" tab work when switching back to it
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 6 Aug 2014 22:36:18 +0000 (17:36 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 8 Dec 2014 13:25:41 +0000 (14:25 +0100)
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 911127588b4c0b71a18f1f474324f302447eba09)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt

index aa0f8e6..08562af 100644 (file)
@@ -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);