[Koha-bugs] [Bug 21520] More complex OAI sets mappings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 5 15:26:55 CET 2019


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

--- Comment #2 from Matthias Meusburger <matthias.meusburger at biblibre.com> ---
Created attachment 96041
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96041&action=edit
Bug 21520: More complex OAI sets mappings

Currently, the rules used to create OAI sets are processed with the 'or'
boolean operator between each rule.

This patch allows to use 'or' or 'and' between the rules.

The evaluation of the rules is done according to the boolean operators
precedence: AND has a higher precedence than OR.

For example:

A and B or C and D

will be evaluated as follow:

(A and B) or (C and D)

Test plan:

 - Apply the patch
 - Apply the atomicupdate
 - Prove t/db_dependant/OAI/AndSets.t
 - Check that existing mappings still work
 - Try modifying existing mappings
 - Try creating new mappings
 - Check that the boolean operators precedence is correctly taken into account

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list