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