]> git.koha-community.org Git - koha.git/commit
Bug 26581: Only reindex records once per checkin
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 16 Oct 2020 14:04:31 +0000 (15:04 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 22 Oct 2020 08:23:51 +0000 (10:23 +0200)
commit8a5cda8b7ad9af8fcbaa9d5a850946000066a281
treeaa8823e31cc7ae1218f5f53589fdd1c584e8afab
parentc6dddaec1b9e735feb9ad666d49485d44a5d63b5
Bug 26581: Only reindex records once per checkin

This patch simply passes skip_record_index calls to Koha:Item:store
for all the changes done in AddReturn.

Testing is really verifiying that items are still correctly indexed at the end

For both search engines
To test:
1 - Find or create a record with multipel items
2 - Populate both:
     UpdateItemLocationOnCheckin
     UpdateNotForLoanStatusOnCheckin
3 - Confirm that checking in an item correctly updates the item status in search results
4 - Test with items issued, and items not issued
5 - Test when generating a transfer (checkin at different branch)
6 - Test when item was marked lost
7 - Test when filling transfer

Signed-off-by: Séverine Queune <severine.queune@bulac.fr>
Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
C4/Items.pm