https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22069
--- Comment #4 from axel <[email protected]> --- (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. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
