mirror of https://github.com/jumpserver/jumpserver
Merge pull request #10874 from jumpserver/pr@dev@perf_accountsearch
perf: 账号搜索支持通过 secret_type 过滤pull/10876/head
commit
6962430e6a
|
@ -45,7 +45,7 @@ class AccountFilterSet(BaseFilterSet):
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Account
|
model = Account
|
||||||
fields = ['id', 'asset_id', 'source_id']
|
fields = ['id', 'asset_id', 'source_id', 'secret_type']
|
||||||
|
|
||||||
|
|
||||||
class GatheredAccountFilterSet(BaseFilterSet):
|
class GatheredAccountFilterSet(BaseFilterSet):
|
||||||
|
|
Loading…
Reference in New Issue