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

--- Comment #12 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 193831
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193831&action=edit
Bug 41917: Add parent itemtype fallback to CirculationRules::get_effective_rule

- When only a global rule is found, check for a parent
  itemtype-specific rule
- Two-query strategy preserves existing priority ordering

To test:
- Run t/db_dependent/Koha/CirculationRules.t
- Verify child itemtype falls back to parent-specific rule
  over the global default
- Verify child-specific rules take priority over parent rules
- Verify orphan itemtypes still fall back to global
- Verify branch-specific parent rules take priority

Sponsored-by: Büchereizentrale Schleswig-Holstein <https://www.bz-sh.de/>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
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