From fd91c8e32987af08c502f05de3d8e3b7881a4555 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Fri, 24 Apr 2020 12:25:10 -0400 Subject: [PATCH] update project type search to scm_type --- awx/ui_next/src/components/Lookup/ProjectLookup.jsx | 2 +- awx/ui_next/src/screens/Project/ProjectList/ProjectList.jsx | 2 +- .../Modals/NodeModals/NodeTypeStep/ProjectsList.jsx | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/awx/ui_next/src/components/Lookup/ProjectLookup.jsx b/awx/ui_next/src/components/Lookup/ProjectLookup.jsx index 7194926610..18dda578e2 100644 --- a/awx/ui_next/src/components/Lookup/ProjectLookup.jsx +++ b/awx/ui_next/src/components/Lookup/ProjectLookup.jsx @@ -78,7 +78,7 @@ function ProjectLookup({ }, { name: i18n._(t`Type`), - key: 'type', + key: 'scm_type', options: [ [``, i18n._(t`Manual`)], [`git`, i18n._(t`Git`)], diff --git a/awx/ui_next/src/screens/Project/ProjectList/ProjectList.jsx b/awx/ui_next/src/screens/Project/ProjectList/ProjectList.jsx index 7a946ac679..6e1d24ba1a 100644 --- a/awx/ui_next/src/screens/Project/ProjectList/ProjectList.jsx +++ b/awx/ui_next/src/screens/Project/ProjectList/ProjectList.jsx @@ -115,7 +115,7 @@ function ProjectList({ i18n }) { }, { name: i18n._(t`Type`), - key: 'type', + key: 'scm_type', options: [ [``, i18n._(t`Manual`)], [`git`, i18n._(t`Git`)], diff --git a/awx/ui_next/src/screens/Template/WorkflowJobTemplateVisualizer/Modals/NodeModals/NodeTypeStep/ProjectsList.jsx b/awx/ui_next/src/screens/Template/WorkflowJobTemplateVisualizer/Modals/NodeModals/NodeTypeStep/ProjectsList.jsx index 5ad915a2d7..836627512a 100644 --- a/awx/ui_next/src/screens/Template/WorkflowJobTemplateVisualizer/Modals/NodeModals/NodeTypeStep/ProjectsList.jsx +++ b/awx/ui_next/src/screens/Template/WorkflowJobTemplateVisualizer/Modals/NodeModals/NodeTypeStep/ProjectsList.jsx @@ -71,8 +71,9 @@ function ProjectsList({ i18n, nodeResource, onUpdateNodeResource }) { }, { name: i18n._(t`Type`), - key: 'type', + key: 'scm_type', options: [ + [``, i18n._(t`Manual`)], [`git`, i18n._(t`Git`)], [`hg`, i18n._(t`Mercurial`)], [`svn`, i18n._(t`Subversion`)],