EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #01700


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Searching in EP 3.2: finding results where a field in empty


I'm trying to create a search where field A has a value and field B is empty (eg creator_name_family = 'Bloggs' and creator_id = '')

How?

  $searchexp->add_field( $dso->get_field("creator_id"),  '' );

doesn't work

Thankee
(EP 3.2.2, if that helps)
--

Ian Stuart.
Developer: ORI, RJ-Broker, and OpenDepot.org
Bibliographics and Multimedia Service Delivery team,
EDINA,
The University of Edinburgh.

http://edina.ac.uk/

This email was sent via the University of Edinburgh.

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.