A new request with request id 6893 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is :

Title : Koha-devel Digest, Vol 205, Issue 2
Category :
Description :
Send Koha-devel mailing list submissions to
    koha-devel@lists.koha-community.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
or, via email, send a message with subject or body 'help' to
    koha-devel-request@lists.koha-community.org

You can reach the person managing the list at
    koha-devel-owner@lists.koha-community.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha-devel digest..."


Today's Topics:

1. OAI set mappings (David Cook)


----------------------------------------------------------------------

Message: 1
Date: Fri, 2 Dec 2022 16:41:07 +1100
From: "David Cook" <dcook@prosentient.com.au>
To: "'koha-devel'" <koha-devel@lists.koha-community.org>
Subject: [Koha-devel] OAI set mappings
Message-ID: <063201d90610$af312fe0$0d938fa0$@prosentient.com.au>
Content-Type: text/plain; charset="utf-8"

Hi all,



Do many people use "OAI set mappings"?



I was feeling a bit frustrated because there's no obvious way to group rules
using the Boolean AND/OR rules.



I wanted a rule like the following but there was no clear mechanism to add
those groupings.



(952$a eq BRANCH) && ( (952$c eq GEN) || (952$c eq AV) )



After some trial and error, I realized you have to do the following:



(952$a eq BRANCH && 952$c eq GEN) || (952$a eq BRANCH && 952$c eq AV)



--



The OR rule seems to just bind together single rules or rules joined
together with AND.



I mean it's workable but it was a bit confusing and I don't think the
documentation makes that clear.



What do you folk think?



David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia



Office: 02 9212 0899

Online: 02 8005 0595



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20221202/60ce8fc9/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


------------------------------

End of Koha-devel Digest, Vol 205, Issue 2
******************************************


NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.