fix: 平台无category type 过滤 (#11580)

Co-authored-by: feng <1304903146@qq.com>
pull/11583/head
fit2bot 1 year ago committed by GitHub
parent 1c2a362beb
commit 09f9775eab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,6 +19,7 @@ class AssetPlatformViewSet(JMSModelViewSet):
'default': PlatformSerializer,
'categories': GroupedChoiceSerializer,
}
filterset_fields = ['name', 'category', 'type']
search_fields = ['name']
rbac_perms = {
'categories': 'assets.view_platform',

Loading…
Cancel
Save