[Koha-bugs] [Bug 33268] Overlay rules don't work correctly when source is set to *
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 11 18:11:36 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33268
David Gustafsson <glasklas at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Patch complexity|--- |Medium patch
Change sponsored?|--- |Sponsored
Text to go in the| |This enhancement changes
release notes| |how marc overlay rules are
| |evaluated. Before the
| |change rules with filter
| |set to '*' (wildcard) where
| |only applied when no other
| |rules had been defined for
| |a specific filter value,
| |regardless of if any of the
| |rules with that filter
| |value matched or not.
| |
| |With
| |this change we fallback to
| |the wildcard filter rules
| |even though rules with a
| |matching filter value do
| |exists, if no rule for that
| |filter value matches. This
| |resolves the issue of
| |having to repeat the same
| |default rules for each
| |filter value rule set. If
| |for some filter value the
| |wildcard filter rules
| |should be overridden, a
| |wildcard tag rule for that
| |filter value can be defined
| |which will have higher
| |precedence and override all
| |the filter wildcard rules.
| |
| |In summary, the rules will
| |applied as follows:
| |
| |- A
| |matching rule is looked for
| |based on context (module
| |and filter value), if
| |multiple contexts matches
| |rules for the module with
| |highest priority are used.
| |The module priority is
| |(from highest to lowest)
| |"User name", "Patron
| |category" and "Source"
| |
| |-
| |If no matching rule is
| |found, we fallback to the
| |wildcard filter rules of
| |the current context.
Severity|major |enhancement
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list