From d813a5365272517cb96258d5851a1018e5631418 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Sat, 31 Jan 2026 09:53:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20paper=20list=E6=B7=BB=E5=8A=A0=E4=B8=A4?= =?UTF-8?q?=E4=B8=AA=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/resm/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"]