mirror of https://github.com/jumpserver/jumpserver
commit
1335556272
|
@ -11,7 +11,7 @@ __all__ = ['CommandFilterACLViewSet', 'CommandGroupViewSet']
|
||||||
class CommandGroupViewSet(OrgBulkModelViewSet):
|
class CommandGroupViewSet(OrgBulkModelViewSet):
|
||||||
model = models.CommandGroup
|
model = models.CommandGroup
|
||||||
filterset_fields = ('name', 'command_filters')
|
filterset_fields = ('name', 'command_filters')
|
||||||
search_fields = filterset_fields
|
search_fields = ('name',)
|
||||||
serializer_class = serializers.CommandGroupSerializer
|
serializer_class = serializers.CommandGroupSerializer
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue