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