From fa07889f39ccb7a391410780145976ca781b7886 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Wed, 28 Oct 2020 15:41:03 -0700 Subject: [PATCH] switch host filter lookup to use icontains searches for name/group --- awx/ui_next/src/components/Lookup/HostFilterLookup.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui_next/src/components/Lookup/HostFilterLookup.jsx b/awx/ui_next/src/components/Lookup/HostFilterLookup.jsx index e819973083..cd05b020ef 100644 --- a/awx/ui_next/src/components/Lookup/HostFilterLookup.jsx +++ b/awx/ui_next/src/components/Lookup/HostFilterLookup.jsx @@ -72,7 +72,7 @@ const QS_CONFIG = getQSConfig( const buildSearchColumns = i18n => [ { name: i18n._(t`Name`), - key: 'name', + key: 'name__icontains', isDefault: true, }, { @@ -81,7 +81,7 @@ const buildSearchColumns = i18n => [ }, { name: i18n._(t`Group`), - key: 'groups__name', + key: 'groups__name__icontains', }, { name: i18n._(t`Inventory ID`),