Bug 6911: (QA follow-up) Reintroduce few lines to avoid regression
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 16 Apr 2015 14:30:12 +0000 (16:30 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 16 Apr 2015 15:10:53 +0000 (12:10 -0300)
If you come from the biblio detail page and click on "modification log",
you should get the circ menu, not the tools menu.

Test plan:
1/ Go on a biblio detail page
2/ Click on the "modification log" tab
3/ You should get the modification log page with the circ menu.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
tools/viewlog.pl

index 9b81d50..c867226 100755 (executable)
@@ -194,6 +194,11 @@ if ($do_it) {
             actions  => \@actions,
         );
 
+        # Used modules
+        foreach my $module (@modules) {
+            $template->param( $module => 1 );
+        }
+
         output_html_with_http_headers $input, $cookie, $template->output;
     }
     else {