Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combining proximity_fetch and order("-modified") is not working here #24

Open
GoogleCodeExporter opened this issue May 28, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
a = A.proximity_fetch(A.all().filter("modified ",
 timeline).filter("published =", True).filter("modified <=",
 bookmark ).order("-modified") ,db.GeoPt(lat, lon),max_results=PAGESIZE
 +1, max_distance=m)

What is the expected output? What do you see instead?
order("-modified") should sort by time. Results come out seemingly random 
sorted.

What version of the product are you using? On what operating system?
Google App Engine production server + geomodel 

Please provide any additional information below.
I'm trying to order by date using db.GeoPt to store google maps coordinates 
with GAE and geomodel I can map and match Sao Paulo and can't sort by time 
linked http://forum.koolbusiness.com/li?lat=-23.33&lon=-46.38

Original issue reported on code.google.com by [email protected] on 21 Sep 2010 at 8:28

Attachments:

@GoogleCodeExporter
Copy link
Author

A workaround now enabled the wanted effect using lambda sorting. Thanks for a 
great software.

Original comment by [email protected] on 22 Sep 2010 at 6:27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant