Remove Type from ScheduleList Sort

Remove Type from ScheduleList Sort, and make `name` as default sort.

See: https://github.com/ansible/awx/issues/7706
This commit is contained in:
nixocio 2020-10-29 16:42:30 -04:00
parent 17b5b531bf
commit 7cb3cf4e37

View File

@ -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}