From 8eec0691a19250504990e09c4d4034bddc1940de 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 --- 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.11.0