[librecat-dev] Multiple selectors

Vitali Peil vitali.peil at uni-bielefeld.de
Fri Aug 14 08:42:57 CEST 2020

Hi Uldis,

AFAIK this is not possible.

But you can do a workaround like this:

if marc_has('150')

  add(my_field, 1)


if marc_has('151')

  add(my_field, 1)


if marc_has('155')

  add(my_field, 1)


select exists(my_field)



Am 13.08.20 um 15:20 schrieb Uldis Bojars:
> Hi,
> Is it possible to combine multiple conditions in Catmandu select?
> This was my attempt at combining multiple marc_has() but it did not work:
> select marc_has('150') or marc_has('151') or marc_has('155')
> Best regards,
> Uldis
> _______________________________________________
> librecat-dev mailing list
> - send list mails to librecat-dev at lists.uni-bielefeld.de
> - to unsubscribe or change options, visit https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
> - project website: http://librecat.org/

Vitali Peil
Deputy Head Acquisitions Department
Subject Librarian
Office U3-200/E1-144, Tel. +49521-106-4010/6125
Bielefeld University Library

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20200814/3a975386/attachment.html>

More information about the librecat-dev mailing list