Brings template list sort fields into parity with the existing UI

This commit is contained in:
mabashian 2020-02-10 16:34:37 -05:00
parent cd49213924
commit a0ba125ea9

View File

@ -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',