From 99d8144bdf73e8042dd95ffc80cedc609cdd7b23 Mon Sep 17 00:00:00 2001 From: zty Date: Wed, 15 Oct 2025 15:09:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20ofm-views=20=E4=BF=AE=E6=94=B9=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=88=97=E8=A1=A8=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ofm/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ofm/views.py b/apps/ofm/views.py index 2a09878f..f59a7876 100644 --- a/apps/ofm/views.py +++ b/apps/ofm/views.py @@ -156,7 +156,7 @@ class FileborrowViewSet(CustomModelViewSet): queryset = BorrowRecord.objects.all() serializer_class = BorrowRecordSerializer filterset_class = BorrowRecordFilter - ordering = ["create_time"] + ordering = ["-create_time"] class PublicityViewSet(CustomModelViewSet):