Bug 30741

Summary: Add option to sort MARC overlay rules by specificity
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 14957    
Bug Blocks:    

Description Andrew Fuerste-Henry 2022-05-12 13:44:13 UTC
Like circulation rules, the new MARC overlay rules have a hierarchy of specificity and will enforce the most specific rule applicable. With that in mind, it would be helpful to have the option to sort the list of rules on marc-overlay-rules.pl to reflect that specificity and enforcement priority, as we do the circ rules.

That specificity is defined in the documentation here: https://gitlab.com/gnucifer/koha-manual/-/commit/eb07dd1abcb357de27d294cee49c287c6f5bfe6c