Hi OliWeiD,

The > in your filter looks a bit suspicious. The default ordering
direction is ascending, and since you order on sequence ascending,
should the inequality be <? I'm not sure what img_next signifies.

Thank you,

Jeff

On Apr 1, 10:44 am, OliWeiD <[email protected]>
wrote:
> The following query is not working normal:
>             q = Photo.all().filter('viewer = ', True) \
>                     .filter('sequence > ', img_next) \
>                     .order('sequence').order('__key__')
> the query is returning nothing,
> but when the filter(sequence >) is not in, the first image is
> retrieved.
> Thanks in advance for any hint..OliWeiD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to