From 5b5411fecd6412ef98bfbb47544443e7053f1a94 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Fri, 16 Feb 2018 16:32:13 -0500 Subject: [PATCH] fix last run job variable reference --- awx/ui/client/features/templates/list-templates.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/features/templates/list-templates.controller.js b/awx/ui/client/features/templates/list-templates.controller.js index 927e807656..af5861a9f6 100644 --- a/awx/ui/client/features/templates/list-templates.controller.js +++ b/awx/ui/client/features/templates/list-templates.controller.js @@ -138,7 +138,7 @@ function ListTemplatesController( return undefined; } - let html = $filter('longDate')(modified); + let html = $filter('longDate')(lastJobRun); // TODO: uncomment and update when last job run user is returned by api // const { username, id } = _.get(template, 'summary_fields.last_job_run_by', {});