I'm getting the following error:

"BadArgumentError: First ordering property must be the same as
inequality filter property, if specified for this query; received
distance, expected cost"

when i run the following code:

search_query.filter("cost >", min_price)
search_query.filter("cost <", max_price)
search_query.order("distance")


Did anyone know about this? Its not in the docs (atleast from what
i've read)...please tell me there's a way around this weird
restriction! I can't really think of a way to restructure my app cause
the inequality filter is basically a necessity at this point & i'd
love to be able to sort my results by something other than cost...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to