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

--- Comment #40 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 199625
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199625&action=edit
Bug 42508: Add ES reindexing triggers for patron data changes

Enqueues patron ES reindexing when related data changes:

- Koha::Checkout: reindex on checkout/return (checkouts_count)
- Koha::Account::Line: reindex on account line changes (account_balance)
- Koha::Library: reindex all patrons when library name changes
- Koha::Patron::Category: reindex all patrons when category description changes
- Koha::AuthorisedValue: reindex patrons when AV descriptions change
  (for extended attributes backed by authorised values)

Test plan:
1. Apply patch
2. Run:
   $ ktd --shell
   k$ prove t/db_dependent/Koha/Checkout.t \
            t/db_dependent/Koha/Account.t \
            t/db_dependent/Koha/Patron/Category.t \
            t/db_dependent/AuthorisedValues.t
=> SUCCESS: Tests pass!
3. Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to