Merge branch 'develop' of http://gitlab.catamarca.gob.ar/mvmiranda/boletin_api i…
…nto fix/fecha_modificacion
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -22,7 +22,7 @@ class EdictoViewSet(mixins.CreateModelMixin, | @@ -22,7 +22,7 @@ class EdictoViewSet(mixins.CreateModelMixin, | ||
22 | filter_backends = (DjangoFilterBackend, filters.OrderingFilter) | 22 | filter_backends = (DjangoFilterBackend, filters.OrderingFilter) |
23 | filterset_class = EdictoFilter | 23 | filterset_class = EdictoFilter |
24 | queryset = Edicto.objects.all() | 24 | queryset = Edicto.objects.all() |
25 | - ordering_fields = ('fecha_creacion', 'id') | 25 | + ordering_fields = ('fecha_creacion', 'id', 'estado') |
26 | ordering = ('fecha_publicacion',) | 26 | ordering = ('fecha_publicacion',) |
27 | lookup_field = 'uuid' | 27 | lookup_field = 'uuid' |
28 | 28 |
-
Please register or login to post a comment