@@ -, +, @@ - Make sure you have RenewalLog turned on - Make a patron renewal - Check something out and renew it - Go to Tools > Log viewer and test different searches - Modules All - Actions All - Modules All - Actions Renew - Modules Circulation - Actions Renew ... - Make sure results show as expected --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt | 1 + tools/viewlog.pl | 2 ++ 2 files changed, 3 insertions(+) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt @@ -52,6 +52,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 --- a/tools/viewlog.pl +++ a/tools/viewlog.pl @@ -126,6 +126,8 @@ if ($do_it) { '<=' => $dtf->format_datetime( $dateto_endday ) }; } + if ( grep { $_ eq 'CIRCULATION'} @modules && grep { $_ eq 'RENEW'} @actions ) { push @actions, 'RENEWAL' }; + $search_params{user} = $user if $user; $search_params{module} = { -in => [ @modules ] } if ( defined $modules[0] and $modules[0] ne '' ) ; $search_params{action} = { -in => [ @actions ] } if ( defined $actions[0] && $actions[0] ne '' ); --