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

--- Comment #2 from Pedro Amorim (ammopt) <[email protected]> ---
Created attachment 200313
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200313&action=edit
Bug 42835: Koha::Item: Skip biblio re-index for circulation-only field changes

When only fields in %ITEM_CIRC_FIELDS are modified (onloan, issues,
renewals, holdingbranch, datelastborrowed, datelastseen, localuse,
reserves, timestamp), skip the biblio MARC re-index — the items index
is authoritative for this data.

notforloan, damaged, itemlost and withdrawn are excluded from the skip
set: they affect the available field in the biblios index and must
trigger a re-index to keep availability filtering correct.

The skip is further gated on _items_index_ready(): the biblio re-index
is only skipped when the items index is sufficiently populated (>=95%
of DB items indexed). This prevents stale availability data on fresh
installs where the items index may contain only a handful of documents.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.
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