From 513441c263fa9f8f90febd689cda21ce8c96bf15 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Tue, 9 Apr 2019 16:59:21 +0000 Subject: [PATCH] Bug 22069: (QA Follow-up) Fix other cases Same test plan as original patch. :) --- tools/viewlog.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/viewlog.pl b/tools/viewlog.pl index f081585553..e6dddf58dc 100755 --- a/tools/viewlog.pl +++ b/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 '' ) ; -- 2.11.0