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