diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt index f46b0a026d..6d2f4411ed 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt @@ -51,6 +51,7 @@ [% CASE 'RESUME' %]Resume [% CASE 'SUSPEND' %]Suspend [% CASE 'RENEW' %]Renew +[% CASE 'RENEWAL' %]Renew [% CASE 'CHANGE PASS' %]Change password [% CASE 'ADDCIRCMESSAGE' %]Add circulation message [% CASE 'DELCIRCMESSAGE' %]Delete circulation message diff --git a/tools/viewlog.pl b/tools/viewlog.pl index 2f8bc30e3e..4aa7394d56 100755 --- a/tools/viewlog.pl +++ b/tools/viewlog.pl @@ -103,6 +103,7 @@ if ($do_it) { my @data; my ( $results, $modules, $actions, $interfaces ); + if ( grep { $_ eq 'RENEW' } @actions ) { push @actions, 'RENEWAL' }; # Circulation uses 'RENEWAL', Patrons uses 'RENEW' if ( defined $actions[0] && $actions[0] ne '' ) { $actions = \@actions; } # match All means no limit if ( $modules[0] ne '' ) { $modules = \@modules; } # match All means no limit if ( defined $interfaces[0] && $interfaces[0] ne '' ) { $interfaces = \@interfaces; } # match All means no limit