[CalendarServer-users] OR prop-filters

Atli Thorbjornsson atlithorn at gmail.com
Fri Jul 4 05:34:30 PDT 2014


Hi guys, is there a way to "OR" prop-filters?

I'm looking for all events that occur in either LOCATION 1 or 2.

This is what I have been trying:

<ns0:comp-filter name="VCALENDAR">
 <ns0:comp-filter name="VEVENT">
    <ns0:time-range start="20140621T000000Z" end="20140809T000000Z" />
    <ns0:prop-filter name="LOCATION">
        <ns0:text-match collation="i;octet">1</ns0:text-match>
    </ns0:prop-filter>
    <ns0:prop-filter name="LOCATION">
        <ns0:text-match collation="i;octet">2</ns0:text-match>
    </ns0:prop-filter>
 </ns0:comp-filter>
</ns0:comp-filter>


But this ANDs the prop-filters. Is there no way to OR or is there another
way to achieve what I'm trying to do here?

Atli.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-users/attachments/20140704/90c846e1/attachment.html>


More information about the calendarserver-users mailing list