Fixed collection sorting & paging order
This commit is contained in:
parent
699377be54
commit
9f57182fc1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user