Fixed collection sorting & paging order
This commit is contained in:
@@ -182,10 +182,10 @@ class QueryABC(ObjectType):
|
|||||||
if filter is not None:
|
if filter is not None:
|
||||||
collection = filter.filter(collection)
|
collection = filter.filter(collection)
|
||||||
|
|
||||||
if page is not None:
|
|
||||||
collection = page.filter(collection)
|
|
||||||
|
|
||||||
if sort is not None:
|
if sort is not None:
|
||||||
collection = sort.filter(collection)
|
collection = sort.filter(collection)
|
||||||
|
|
||||||
|
if page is not None:
|
||||||
|
collection = page.filter(collection)
|
||||||
|
|
||||||
return collection
|
return collection
|
||||||
|
Reference in New Issue
Block a user