Jump to content

Recommended Posts

Posted

I'm building up a selector for $pages->find, for example:

template=horse, h_age=5, h_sex=gelding, sort=h_name

If I change this to

template=horse, h_age>5, h_sex=gelding, sort=h_name

I'm getting:

Error: 	Exception: Unimplemented operator in DatabaseQuerySelectFulltext::match()

So it doesn't like the '>' for some reason. But I can see that that is a valid operator on https://processwire.com/api/selectors.

Posted

I thought just after I posted it could be the field type. It is a text field, so that's obviously the problem. Thanks for confirming :)

  • Like 1

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...