[Koha-bugs] [Bug 26581] Elasticsearch - Records can be indexed multiple times during returns

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 14 13:10:22 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26581

Andrew Fuerste-Henry <andrew at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #111002|0                           |1
        is obsolete|                            |

--- Comment #10 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
Created attachment 111597
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111597&action=edit
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: Christoper Brannon <cbrannon at cdalibrary.org
>
;
>


Signed-off-by: Christoper Brannon <cbrannon at cdalibrary.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list