Appengine filter inequality and ordering fails
- by davezor
I think I'm overlooking something simple here, I can't imagine this is impossible to do.
I want to filter by a datetime attribute and then order the result by a ranking integer attribute. When I try to do this:
query.filter("submitted >=" thisweek).order("ranking")
I get the following:
BadArgumentError: First ordering property must be the same as inequality filter property, if specified for this query; received ranking, expected submitted
Huh? What am I missing?
Thanks.