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 <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Nick Clemens 2019-12-13 17:08:58 +00:00 committed by Martin Renvoize
parent b96b3eceef
commit 909caec446
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 2 additions and 2 deletions

View File

@ -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;