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, @@ -23,7 +23,7 @@ class EdictoViewSet(mixins.CreateModelMixin,
23 filter_backends = (DjangoFilterBackend, filters.OrderingFilter) 23 filter_backends = (DjangoFilterBackend, filters.OrderingFilter)
24 filterset_class = EdictoFilter 24 filterset_class = EdictoFilter
25 queryset = Edicto.objects.all() 25 queryset = Edicto.objects.all()
26 - ordering_fields = ('fecha_creacion', 'id') 26 + ordering_fields = ('fecha_creacion', 'id', 'estado')
27 ordering = ('fecha_publicacion',) 27 ordering = ('fecha_publicacion',)
28 lookup_field = 'uuid' 28 lookup_field = 'uuid'
29 29