feat: support domain name fuzzy search
Support domain name fuzzy search for users, user groups and projects Change-Id: I7859b91ced6549c26655b1624f28bb19427194e6
This commit is contained in:
parent
eedea3eccd
commit
2d6f720041
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Support domain name fuzzy search:
|
||||||
|
|
||||||
|
* Support domain name fuzzy search in the user list page.
|
||||||
|
|
||||||
|
* Support domain name fuzzy search in the user group list page.
|
||||||
|
|
||||||
|
* Support domain name fuzzy search in the project list page.
|
@ -271,6 +271,14 @@ export class Projects extends Base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get searchFilters() {
|
get searchFilters() {
|
||||||
|
const domainFilter = this.inDomainDetail
|
||||||
|
? []
|
||||||
|
: [
|
||||||
|
{
|
||||||
|
label: t('Domain Name'),
|
||||||
|
name: 'domainName',
|
||||||
|
},
|
||||||
|
];
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
label: t('Project Name'),
|
label: t('Project Name'),
|
||||||
@ -281,6 +289,7 @@ export class Projects extends Base {
|
|||||||
name: 'enabled',
|
name: 'enabled',
|
||||||
options: yesNoOptions,
|
options: yesNoOptions,
|
||||||
},
|
},
|
||||||
|
...domainFilter,
|
||||||
{
|
{
|
||||||
label: t('Tags'),
|
label: t('Tags'),
|
||||||
name: 'tags',
|
name: 'tags',
|
||||||
|
@ -167,6 +167,14 @@ export class User extends Base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get searchFilters() {
|
get searchFilters() {
|
||||||
|
const domainFilter = this.inDomainDetail
|
||||||
|
? []
|
||||||
|
: [
|
||||||
|
{
|
||||||
|
label: t('Domain Name'),
|
||||||
|
name: 'domainName',
|
||||||
|
},
|
||||||
|
];
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
label: t('User Name'),
|
label: t('User Name'),
|
||||||
@ -181,6 +189,7 @@ export class User extends Base {
|
|||||||
name: 'enabled',
|
name: 'enabled',
|
||||||
options: yesNoOptions,
|
options: yesNoOptions,
|
||||||
},
|
},
|
||||||
|
...domainFilter,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -226,11 +226,20 @@ export class UserGroups extends Base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get searchFilters() {
|
get searchFilters() {
|
||||||
|
const domainFilter = this.inDomainDetail
|
||||||
|
? []
|
||||||
|
: [
|
||||||
|
{
|
||||||
|
label: t('Domain Name'),
|
||||||
|
name: 'domainName',
|
||||||
|
},
|
||||||
|
];
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
label: t('User Group Name'),
|
label: t('User Group Name'),
|
||||||
name: 'name',
|
name: 'name',
|
||||||
},
|
},
|
||||||
|
...domainFilter,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user