mirror of https://github.com/jumpserver/jumpserver
parent
823d9af91d
commit
50d196eda4
|
@ -63,6 +63,7 @@ def merge_nodes_and_assets(nodes, assets, user):
|
||||||
|
|
||||||
class JobViewSet(OrgBulkModelViewSet):
|
class JobViewSet(OrgBulkModelViewSet):
|
||||||
serializer_class = JobSerializer
|
serializer_class = JobSerializer
|
||||||
|
filterset_fields = ('name', 'type')
|
||||||
search_fields = ('name', 'comment')
|
search_fields = ('name', 'comment')
|
||||||
model = Job
|
model = Job
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue