From ed9f1fcfad127df6816394e24361030a3a7325c6 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 13 Dec 2019 17:08:58 +0000 Subject: [PATCH] Bug 10352: Get add operations too When an add for biblio or item is recorded there is no space in the info field Signed-off-by: Jonathan Druart Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit 428fc6fcc1dc029bed3d85acac1570e964c66c9a) Signed-off-by: Lucas Gass --- tools/viewlog.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/viewlog.pl b/tools/viewlog.pl index 94c7ecb3ea..e6630cf9f8 100755 --- a/tools/viewlog.pl +++ b/tools/viewlog.pl @@ -140,8 +140,8 @@ if ($do_it) { # Handle 'Modification log' from cataloguing my @itemnumbers = Koha::Items->search({ biblionumber => $object })->get_column('itemnumber'); $search_params{'-or'} = [ - { -and => { object => $object, info => { -like => 'biblio %' }}}, - { -and => { object => \@itemnumbers, info => { -like => 'item %' }}}, + { -and => { object => $object, info => { -like => 'biblio%' }}}, + { -and => { object => \@itemnumbers, info => { -like => 'item%' }}}, ]; } else { $search_params{info} = $info if $info; -- 2.39.5