From 7cb3cf4e378537676e17fdf5727a94f30d187d46 Mon Sep 17 00:00:00 2001 From: nixocio Date: Thu, 29 Oct 2020 16:42:30 -0400 Subject: [PATCH] Remove Type from ScheduleList Sort Remove Type from ScheduleList Sort, and make `name` as default sort. See: https://github.com/ansible/awx/issues/7706 --- .../src/components/Schedule/ScheduleList/ScheduleList.jsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/awx/ui_next/src/components/Schedule/ScheduleList/ScheduleList.jsx b/awx/ui_next/src/components/Schedule/ScheduleList/ScheduleList.jsx index 512c7d5b62..957006022e 100644 --- a/awx/ui_next/src/components/Schedule/ScheduleList/ScheduleList.jsx +++ b/awx/ui_next/src/components/Schedule/ScheduleList/ScheduleList.jsx @@ -18,7 +18,7 @@ import ScheduleListItem from './ScheduleListItem'; const QS_CONFIG = getQSConfig('schedule', { page: 1, page_size: 20, - order_by: 'unified_job_template__polymorphic_ctype__model', + order_by: 'name', }); function ScheduleList({ @@ -162,10 +162,6 @@ function ScheduleList({ name: i18n._(t`Next Run`), key: 'next_run', }, - { - name: i18n._(t`Type`), - key: 'unified_job_template__polymorphic_ctype__model', - }, ]} toolbarSearchableKeys={searchableKeys} toolbarRelatedSearchableKeys={relatedSearchableKeys}