Showing
1 changed file
with
1 additions
and
1 deletions
@@ -24,7 +24,7 @@ class EdictoViewSet(AuditoriaMixin, mixins.CreateModelMixin, | @@ -24,7 +24,7 @@ class EdictoViewSet(AuditoriaMixin, mixins.CreateModelMixin, | ||
24 | filter_backends = (DjangoFilterBackend, filters.OrderingFilter) | 24 | filter_backends = (DjangoFilterBackend, filters.OrderingFilter) |
25 | filterset_class = EdictoFilter | 25 | filterset_class = EdictoFilter |
26 | queryset = Edicto.objects.all() | 26 | queryset = Edicto.objects.all() |
27 | - ordering_fields = ('fecha_creacion', 'id', 'estado') | 27 | + ordering_fields = ('fecha_creacion', 'fecha_modificacion', 'id', 'estado') |
28 | ordering = ('fecha_publicacion',) | 28 | ordering = ('fecha_publicacion',) |
29 | lookup_field = 'uuid' | 29 | lookup_field = 'uuid' |
30 | 30 |
-
Please register or login to post a comment