diff --git a/apps/resm/views.py b/apps/resm/views.py index 5abfecc..fde4e9e 100644 --- a/apps/resm/views.py +++ b/apps/resm/views.py @@ -9,7 +9,8 @@ from rest_framework.permissions import AllowAny class PaperViewSet(CustomGenericViewSet, CustomListModelMixin): queryset = Paper.objects.all() serializer_class = PaperListSerializer - filterset_fields = ["publication_year", "type", "fetch_status"] + filterset_fields = ["publication_year", "type", "fetch_status", + "has_abstract", "has_fulltext"] search_fields = ['title', 'first_author', 'first_author_institution'] ordering = ["-publication_date", "-create_time"]