dps123 Posted April 16, 2016 Share Posted April 16, 2016 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. Link to comment Share on other sites More sharing options...
LostKobrakai Posted April 16, 2016 Share Posted April 16, 2016 Is h_age a textfield or a integer/float field? Only the latter ones should be able to use the >/< operators. 1 Link to comment Share on other sites More sharing options...
dps123 Posted April 16, 2016 Author Share Posted April 16, 2016 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 1 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