From a0ba125ea9f2104a8a60ccf8211099c330c3c398 Mon Sep 17 00:00:00 2001 From: mabashian Date: Mon, 10 Feb 2020 16:34:37 -0500 Subject: [PATCH] Brings template list sort fields into parity with the existing UI --- .../Template/TemplateList/TemplateList.jsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/awx/ui_next/src/screens/Template/TemplateList/TemplateList.jsx b/awx/ui_next/src/screens/Template/TemplateList/TemplateList.jsx index 312c8e0fd4..ce24889924 100644 --- a/awx/ui_next/src/screens/Template/TemplateList/TemplateList.jsx +++ b/awx/ui_next/src/screens/Template/TemplateList/TemplateList.jsx @@ -198,10 +198,26 @@ function TemplatesList({ i18n }) { }, ]} toolbarSortColumns={[ + { + name: i18n._(t`Inventory`), + key: 'job_template__inventory__id', + }, + { + name: i18n._(t`Last Job Run`), + key: 'last_job_run', + }, + { + name: i18n._(t`Modified`), + key: 'modified', + }, { name: i18n._(t`Name`), key: 'name', }, + { + name: i18n._(t`Project`), + key: 'jobtemplate__project__id', + }, { name: i18n._(t`Type`), key: 'type',