浏览代码

HUE-6726 [jb] New jobs gets pushed to the end of the list of jobs

Romain Rigaux 8 年之前
父节点
当前提交
6c14289
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/jobbrowser/src/jobbrowser/templates/job_browser.mako

+ 1 - 1
apps/jobbrowser/src/jobbrowser/templates/job_browser.mako

@@ -2043,7 +2043,7 @@ ${ commonheader("Job Browser", "jobbrowser", user, request) | n,unicode }
             }
 
             newJobs.forEach(function (job) {
-              self.apps.push(job);
+              self.apps.unshift(job);
             });
 
             self.totalApps(data.total);