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

            Bug ID: 20913
           Summary: allow multiple if/unless statements in MARC
                    modification template actions by adding AND/OR
                    qualifiers
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: hu...@brimbank.vic.gov.au
        QA Contact: testo...@bugs.koha-community.org

Actions in MARC Modification templates have the following syntax:

[action] all/first [field] (plus optionally... if/unless [field] [conditional])

But there is only the option for one if/unless. This is usually enough, but
sometimes it would be useful to be able to add another qualifier linked with
and/or.

For example, libraries importing embedded items might want to apply a different
shelf location or call number depending on the home location. In this case,
they would want to do something like:

Add/Update field '952c' with value 'Animals' 
IF field '984c' matches /^(57+[0-9]+.?.*)/
AND 
IF field '952a' matches 'Main'

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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