joe_ma Posted September 5, 2018 Posted September 5, 2018 Hello I tryed to modify the search template so as to search also descriptions of an upload field. $selector = "title|body|upload->description~=$q, include=hidden, limit=50"; That throws the following exception: Exception: Unknown Selector operator: '' -- was your selector value properly escaped? So how is this correctly done? Thanks.
Tom. Posted September 5, 2018 Posted September 5, 2018 For selectors you can't use '->' as that is reserved for things like $page->title (Array). Instead you use 'upload.description'. 3
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now