mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Update search keys
Update search keys. See: https://github.com/ansible/awx/issues/11350
This commit is contained in:
parent
229f0d97f9
commit
3dc6a055ac
@ -58,7 +58,7 @@ function InstanceGroupList({
|
||||
const match = useRouteMatch();
|
||||
const {
|
||||
error: protectedItemsError,
|
||||
isloading: isLoadingProtectedItems,
|
||||
isLoading: isLoadingProtectedItems,
|
||||
request: fetchProtectedItems,
|
||||
result: { defaultControlPlane, defaultExecution },
|
||||
} = useRequest(
|
||||
@ -248,6 +248,13 @@ function InstanceGroupList({
|
||||
clearSelected={clearSelected}
|
||||
toolbarSearchableKeys={searchableKeys}
|
||||
toolbarRelatedSearchableKeys={relatedSearchableKeys}
|
||||
toolbarSearchColumns={[
|
||||
{
|
||||
name: t`Name`,
|
||||
key: 'name__icontains',
|
||||
isDefault: true,
|
||||
},
|
||||
]}
|
||||
renderToolbar={(props) => (
|
||||
<DatalistToolbar
|
||||
{...props}
|
||||
|
||||
@ -178,7 +178,7 @@ function InstanceList() {
|
||||
toolbarSearchColumns={[
|
||||
{
|
||||
name: t`Name`,
|
||||
key: 'hostname',
|
||||
key: 'hostname__icontains',
|
||||
isDefault: true,
|
||||
},
|
||||
]}
|
||||
|
||||
@ -67,7 +67,7 @@ function SmartInventoryHostList({ inventory }) {
|
||||
toolbarSearchColumns={[
|
||||
{
|
||||
name: t`Name`,
|
||||
key: 'name',
|
||||
key: 'name__icontains',
|
||||
isDefault: true,
|
||||
},
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user