[Koha-bugs] [Bug 25893] Log viewer no longer searches using wildcards

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 6 20:05:19 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25893

--- Comment #5 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Matthias Meusburger from comment #3)
> The patch works as intended.
> 
> However, using a wildcard on object (which is an identifier) does not seem
> to be a good idea, since you will retrieve many unwanted results.
> 
> Moreover, the wildcard in C4::Logs::GetLogs was only on info, and not on
> object:
> 
> if ($object) {
> $query .= " AND object = ? ";
> push( @parameters, $object );
> }
> 
> Hence, it doesn't restore the old behavior, but changes it.
> 
> What do you think?

Yup, I just got mixed up, removed wildcards from object

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list