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

Victor Grousset/tuxayo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  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 module. |
                   |
                           |
                   |For Koha installations      |
                   |where marc overlay rules is |
                   |in use a database migration |
                   |will run that creates new   |
                   |rules if necessary to       |
                   |preserve the current        |
                   |behavior, so no user action |
                   |needs to be taken in order  |
                   |to correct for this change. |

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