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

--- Comment #7 from David Gustafsson <[email protected]> ---
I have to correct my previous comment, if context + filter (context) has higher
priority, but default rules are still merged in (but only if a rule with an
exact match on context already does already match the tag condition) our
current rules would work the same (as we have a wildcard rule matching the
exact context (source => staff interface). I gave it some thought, and I think
it would be possible to merge in the '*' with a few simple rules:

If there are rules for the context with an exact filter match with a wildcard
tag, discard all wildcard filter rules.

If there are one or more regexp rules for the context with exact match, loop
through all wildcard filter rules and throw away rules with tags matching this
context.

Else merge in all wildcard filter rules with tags not already present in
current matching context.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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