Switch sorting

This commit is contained in:
littlewolf 2019-09-27 07:58:21 +03:00
parent 4f2bca78f9
commit 44f792db0c

View File

@ -48,7 +48,7 @@ class CollectionHomePageView(CollectionViewMixin, generics.ListAPIView):
.by_country_code(code=self.request.country_code)\
.annotate_related_objects_count()\
.filter_related_gt(3)\
.order_by('-on_top', '-created')
.order_by('-on_top', '-modified')
return queryset