https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41917
--- Comment #7 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 193827 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193827&action=edit Bug 41917: (QA follow-up) Derive parent pool rule from child rule in TooMany Now that CirculationRules::get_effective_rule performs parent itemtype fallback internally, a child item with no specific maxissueqty rule will already receive the parent rule back from that call. Deriving $parent_maxissueqty_rule from $maxissueqty_rule in that case avoids a redundant second get_effective_rule call for the parent itemtype. When the child does have its own specific rule the parent pool limit is still fetched explicitly, preserving the existing behaviour for that path. Also moves the $maxissueqty_rule lookup before the parent rule determination so the result is available for the comparison. -- 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/
