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

Ian Stuart Ian.Stuart at ed.ac.uk
Mon Mar 11 16:27:14 GMT 2013


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.



More information about the Eprints-tech mailing list