Bug 27281: (QA follow-up) Fix Indexer Test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 23 Apr 2021 13:37:28 +0000 (14:37 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 27 Apr 2021 09:19:45 +0000 (11:19 +0200)
commit7b15138278518227b64e725c7a4ac5ad97f5e99b
treebd0cb6c54c9ccb8a6ddf6ad4b9483e14a8b1981c
parentb9d14bc5a0581080c97c5775571a2b99657d1070
Bug 27281: (QA follow-up) Fix Indexer Test

With bug 27281 we removed a call to reset an items holdingbranch back to
the 'frombranch' of the transfer.  This is correct, as with bug 23129
(and friends) we ensure that the holdingbranch was not changed at
transfer request time and instead would only be updated at the reciept
of transfer. As such, it's safe to remove the update here as it would be
just setting the same branch as is already present.

However, when removing this ModItem call, I neglected to realise that
also remoes the requirement for passing around the defered indexing bit
as we no longer need to trigger a re-index as there's not any change to
the item.

This patch therefore cleans up the POD for LostItem, removes the no
longer references 'params' parameter and drops the corresponding index
test.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
t/db_dependent/Koha/SearchEngine/Indexer.t