@@ -, +, @@ --- tools/viewlog.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/tools/viewlog.pl +++ a/tools/viewlog.pl @@ -126,7 +126,9 @@ if ($do_it) { '<=' => $dtf->format_datetime( $dateto_endday ) }; } - if ( grep { $_ eq 'CIRCULATION'} @modules && grep { $_ eq 'RENEW'} @actions ) { push @actions, 'RENEWAL' }; + if ( (grep { $_ eq 'CIRCULATION'} @modules) && (grep { $_ eq 'RENEW'} @actions) ) { push @actions, 'RENEWAL' }; + + if ( (grep { $_ eq 'MEMBERS'} @modules) && (grep { $_ eq 'RENEW'} @actions) ) { push @actions , 'RENEW' }; $search_params{user} = $user if $user; $search_params{module} = { -in => [ @modules ] } if ( defined $modules[0] and $modules[0] ne '' ) ; --