[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:23:44 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33268
David Gustafsson <glasklas at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Text to go in the|This enhancement changes |This enhancement changes
release notes|how marc overlay rules are |how marc overlay rules are
|evaluated. Before the |evaluated. Before the
|change rules with filter |change rules with filter
|set to '*' (wildcard) where |set to '*' (wildcard) where
|only applied when no other |only applied when no other
|rules had been defined for |rules had been defined for
|a specific filter value, |a specific filter value,
|regardless of if any of the |regardless of if any of the
|rules with that filter |rules with that filter
|value matched or not.
|value matched or not.
|
|
|With |With
|this change we fallback to |this change we fallback to
|the wildcard filter rules |the wildcard filter rules
|even though rules with a |even though rules with a
|matching filter value do |matching filter value do
|exists, if no rule for that |exists, if no rule for that
|filter value matches. This |filter value matches. This
|resolves the issue of |resolves the issue of
|having to repeat the same |having to repeat the same
|default rules for each |default rules for each
|filter value rule set. If |filter value rule set. If
|for some filter value the |for some filter value the
|wildcard filter rules |wildcard filter rules
|should be overridden, a |should be overridden, a
|wildcard tag rule for that |wildcard tag rule for that
|filter value can be defined |filter value can be defined
|which will have higher |which will have higher
|precedence and override all |precedence and override all
|the filter wildcard rules.
|the filter wildcard rules.
| |
|In summary, the rules will |In summary, the rules will
|applied as follows:
|applied as follows:
|
|
|- A |- A
|matching rule is looked for |matching rule is looked for
|based on context (module |based on context (module
|and filter value), if |and filter value), if
|multiple contexts matches |multiple contexts matches
|rules for the module with |rules for the module with
|highest priority are used. |highest priority are used.
|The module priority is |The module priority is
|(from highest to lowest) |(from highest to lowest)
|"User name", "Patron |"User name", "Patron
|category" and "Source"
|category" and "Source".
|
|
|- |-
|If no matching rule is |If no matching rule is
|found, we fallback to the |found, we fallback to the
|wildcard filter rules of |wildcard filter rules of
|the current context.
|the current context module.
|
|
|For |For Koha installations
|Koha installations where |where marc overlay rules is
|marc overlay rules is in |in use a database migration
|use a database migration |will run that creates new
|will run that creates new |rules if necessary to
|rules if necessary to |preserve the current
|preserve the current |behavior, so no user action
|behavior, so no user action |needs to be taken in order
|needs to be taken in order |to correct for this change.
|to correct for this change. |
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list