perf: 内置平台置顶

pull/12955/head
wangruidong 8 months ago committed by w940853815
parent 45bac09dc7
commit e61f9efbf2

@ -21,6 +21,7 @@ class AssetPlatformViewSet(JMSModelViewSet):
} }
filterset_fields = ['name', 'category', 'type'] filterset_fields = ['name', 'category', 'type']
search_fields = ['name'] search_fields = ['name']
ordering = ['-internal', 'name']
rbac_perms = { rbac_perms = {
'categories': 'assets.view_platform', 'categories': 'assets.view_platform',
'type_constraints': 'assets.view_platform', 'type_constraints': 'assets.view_platform',

Loading…
Cancel
Save