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:
parent
b96b3eceef
commit
909caec446
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue