EPrints Technical Mailing List Archive

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

Message: #03499


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

[EP-tech] Search configuration - 'top' for subject search


Hi,
In the workflows, it's possible to restrict a subject input by using the 'top' option in the field e.g.
<component type="Field::Subject"><field ref="dept" required="yes" top="Leeds" /></component>

Is the same possible for a search field?
Something like:
search_fields => [
	...
                { meta_fields => [ "dept" ], top => 'Leeds' }, #NB this DOESN'T work!
	...
        ],

Cheers,
John