|
|
|
@ -205,7 +205,7 @@ class AdminTransmitterReliabilityViewSet(ReadOnlyModelViewSet): |
|
|
|
pagination_class = None |
|
|
|
|
|
|
|
def get_queryset(self): |
|
|
|
return TransmitterReliability.objects.all().order_by("id") |
|
|
|
return TransmitterReliability.objects.all().order_by("-id") |
|
|
|
|
|
|
|
|
|
|
|
class DovodiNarratorLayerViewSet(ModelViewSet): |
|
|
|
@ -242,7 +242,7 @@ class DovodiTransmitterReliabilityViewSet(ModelViewSet): |
|
|
|
Q(title__icontains=search_query) |
|
|
|
| Q(slug__icontains=search_query) |
|
|
|
) |
|
|
|
return queryset.order_by("id") |
|
|
|
return queryset.order_by("-id") |
|
|
|
|
|
|
|
|
|
|
|
class DovodiOpinionStatusViewSet(ModelViewSet): |
|
|
|
@ -260,7 +260,7 @@ class DovodiOpinionStatusViewSet(ModelViewSet): |
|
|
|
Q(title__icontains=search_query) |
|
|
|
| Q(slug__icontains=search_query) |
|
|
|
) |
|
|
|
return queryset.order_by("id") |
|
|
|
return queryset.order_by("-id") |
|
|
|
|
|
|
|
|
|
|
|
class AdminTransmitterViewSet(ModelViewSet): |
|
|
|
|