[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
Fri Jul 3 16:45:35 CEST 2020


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

Matthias Meusburger <matthias.meusburger at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |In Discussion
                 CC|                            |matthias.meusburger at biblibr
                   |                            |e.com

--- Comment #3 from Matthias Meusburger <matthias.meusburger at biblibre.com> ---
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?

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


More information about the Koha-bugs mailing list