Martín Miranda

Merge branch 'feature/#62_agregar_ordenamiento_de_edictos' into 'develop'

Closed feature/#62_agregar_ordenamiento_de_edicto



See merge request !48
... ... @@ -23,7 +23,7 @@ class EdictoViewSet(mixins.CreateModelMixin,
filter_backends = (DjangoFilterBackend, filters.OrderingFilter)
filterset_class = EdictoFilter
queryset = Edicto.objects.all()
ordering_fields = ('fecha_creacion', 'id')
ordering_fields = ('fecha_creacion', 'id', 'estado')
ordering = ('fecha_publicacion',)
lookup_field = 'uuid'
... ...