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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 19 Aug 2014 12:54:33 +0000 (09:54 -0300)
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt

index 46ae365..eebf086 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);