From 909caec446b936023158fe99aa8ecf56e775cb6d 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 --- 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