View | Details | Raw Unified | Return to bug 22069
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (+1 lines)
Lines 52-57 Link Here
52
[%        CASE 'RESUME' %]Resume
52
[%        CASE 'RESUME' %]Resume
53
[%        CASE 'SUSPEND' %]Suspend
53
[%        CASE 'SUSPEND' %]Suspend
54
[%        CASE 'RENEW'  %]Renew
54
[%        CASE 'RENEW'  %]Renew
55
[%        CASE 'RENEWAL' %]Renew
55
[%        CASE 'CHANGE PASS' %]Change password
56
[%        CASE 'CHANGE PASS' %]Change password
56
[%        CASE 'ADDCIRCMESSAGE' %]Add circulation message
57
[%        CASE 'ADDCIRCMESSAGE' %]Add circulation message
57
[%        CASE 'DELCIRCMESSAGE' %]Delete circulation message
58
[%        CASE 'DELCIRCMESSAGE' %]Delete circulation message
(-)a/tools/viewlog.pl (-1 / +3 lines)
Lines 126-131 if ($do_it) { Link Here
126
            '<=' => $dtf->format_datetime( $dateto_endday )
126
            '<=' => $dtf->format_datetime( $dateto_endday )
127
        };
127
        };
128
    }
128
    }
129
    # Circulation uses RENEWAL, but Patorns uses RENEW, this helps to find both
130
    if ( grep { $_ eq 'RENEW'} @actions ) { push @actions, 'RENEWAL' };
131
129
    $search_params{user} = $user if $user;
132
    $search_params{user} = $user if $user;
130
    $search_params{module} = { -in => [ @modules ] } if ( defined $modules[0] and $modules[0] ne '' ) ;
133
    $search_params{module} = { -in => [ @modules ] } if ( defined $modules[0] and $modules[0] ne '' ) ;
131
    $search_params{action} = { -in => [ @actions ] } if ( defined $actions[0] && $actions[0] ne '' );
134
    $search_params{action} = { -in => [ @actions ] } if ( defined $actions[0] && $actions[0] ne '' );
132
- 

Return to bug 22069