From e61f9efbf23815e1aff7e110a476d7bb23176fe9 Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Mon, 8 Apr 2024 16:31:47 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=86=85=E7=BD=AE=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E7=BD=AE=E9=A1=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/api/platform.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/assets/api/platform.py b/apps/assets/api/platform.py index 6a31f9519..4df9cb4a3 100644 --- a/apps/assets/api/platform.py +++ b/apps/assets/api/platform.py @@ -21,6 +21,7 @@ class AssetPlatformViewSet(JMSModelViewSet): } filterset_fields = ['name', 'category', 'type'] search_fields = ['name'] + ordering = ['-internal', 'name'] rbac_perms = { 'categories': 'assets.view_platform', 'type_constraints': 'assets.view_platform',