From 0fb8d48074edd05298935d6d2362e1661c3dc5f2 Mon Sep 17 00:00:00 2001 From: jakemcdermott Date: Thu, 4 Nov 2021 10:35:24 -0400 Subject: [PATCH] Add labels to default template search --- awx/ui/src/components/TemplateList/TemplateList.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awx/ui/src/components/TemplateList/TemplateList.js b/awx/ui/src/components/TemplateList/TemplateList.js index 0b3144bb22..01fef24065 100644 --- a/awx/ui/src/components/TemplateList/TemplateList.js +++ b/awx/ui/src/components/TemplateList/TemplateList.js @@ -215,6 +215,10 @@ function TemplateList({ defaultParams }) { name: t`Modified By (Username)`, key: 'modified_by__username__icontains', }, + { + name: t`Label`, + key: 'labels__name__icontains', + }, ]} toolbarSearchableKeys={searchableKeys} toolbarRelatedSearchableKeys={relatedSearchableKeys}