revision collection view
This commit is contained in:
parent
8a7b583154
commit
5032906483
|
|
@ -18,7 +18,7 @@ class CollectionViewMixin(generics.GenericAPIView):
|
|||
"""Override get_queryset method."""
|
||||
return models.Collection.objects.published() \
|
||||
.by_country_code(code=self.request.country_code) \
|
||||
.order_by('-on_top', '-modified')
|
||||
.order_by('-on_top', '-created')
|
||||
|
||||
|
||||
class GuideViewMixin(generics.GenericAPIView):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user