joe_ma Posted September 5, 2018 Share 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. Link to comment Share on other sites More sharing options...
Tom. Posted September 5, 2018 Share 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 Link to comment Share on other sites More sharing options...
joe_ma Posted September 5, 2018 Author Share Posted September 5, 2018 Oh, great! Thanks a lot. Link to comment Share on other sites More sharing options...
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