From 32dcbf97a5ef47e3eade9efccff544d39927f08b Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 3 Feb 2026 10:38:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20work=E6=B7=BB=E5=8A=A0=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/carbon/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/carbon/views.py b/apps/carbon/views.py index 50f3217..d487642 100644 --- a/apps/carbon/views.py +++ b/apps/carbon/views.py @@ -60,6 +60,7 @@ class WorkViewSet(CustomModelViewSet): serializer_class = WorkSerializer create_serializer_class = WorkCreateSerializer search_fields = ['name', "description"] + ordering_fields = ['create_time', 'score_dq', "score_dh"] @action(methods=['get'], detail=False, perms_map={'get': '*'}) def my(self, request, *args, **kwargs):