Jump to content

Incluing upload field in search template


joe_ma
 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...