[Koha-bugs] [Bug 22069] Log viewer not displaying item renewals
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 9 17:21:50 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22069
--- Comment #4 from axel <axel.amghar at gmail.com> ---
(In reply to axel from comment #3)
> Hello,
> I tested the patch, and he doesn't work.
> When I tested the different searches,
> - Modules All - Actions All works
> - Modules All - Actions Renew return No log found
>
> - Modules Circulation - Actions Renew return No log found
> because you forgot parentheses around the grep:
>
> if ( (grep { $_ eq 'CIRCULATION'} @modules) && (grep { $_ eq 'RENEW'}
> @actions) ) {
> push @actions, 'RENEWAL';
> }
>
>
> But i tkink a better solution will be to change the value in the form:
>
> In the actions label
> replace <option value="RENEW">Renew</option>
> by <option value="RENEWAL">Renew</option>
>
> and the patch will work.
When you add the parentheses, this will only resolve the research "- Modules
Circulation - Actions Renew"
I encourage you to apply the last solution because all the case will works
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list