Fixed order_by chaining issue (#265)
This commit is contained in:
parent
f10e946896
commit
c9a5710554
@ -4,6 +4,7 @@ Changelog
|
|||||||
|
|
||||||
Changes in 0.7.10
|
Changes in 0.7.10
|
||||||
=================
|
=================
|
||||||
|
- Fixed order_by chaining issue (#265)
|
||||||
- Added dereference support for tuples (#250)
|
- Added dereference support for tuples (#250)
|
||||||
- Resolve field name to db field name when using distinct(#260, #264, #269)
|
- Resolve field name to db field name when using distinct(#260, #264, #269)
|
||||||
- Added kwargs to doc.save to help interop with django (#223, #270)
|
- Added kwargs to doc.save to help interop with django (#223, #270)
|
||||||
|
@ -1321,7 +1321,8 @@ class QuerySet(object):
|
|||||||
key_list.append((key, direction))
|
key_list.append((key, direction))
|
||||||
|
|
||||||
self._ordering = key_list
|
self._ordering = key_list
|
||||||
|
if self._cursor_obj:
|
||||||
|
self._cursor_obj.sort(key_list)
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def explain(self, format=False):
|
def explain(self, format=False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user