Эх сурвалжийг харах

HUE-6971 [jb] Schedule list is filtered by default on 7 days which hides most of them

Romain Rigaux 8 жил өмнө
parent
commit
ac41d006e5

+ 1 - 1
apps/jobbrowser/src/jobbrowser/apis/schedule_api.py

@@ -58,7 +58,7 @@ class ScheduleApi(Api):
         'progress': app['progress'],
         'queue': app['group'],
         'duration': app['durationInMillis'],
-        'submitted': app['startTimeInMillis'] * 1000,
+        'submitted': app['lastModTimeInMillis'] * 1000,
         'canWrite': app['canEdit']
       } for app in massaged_oozie_jobs_for_json(jobs.jobs, self.user)['jobs']],
       'total': jobs.total

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

@@ -195,7 +195,7 @@ ${ commonheader("Job Browser", "jobbrowser", user, request) | n,unicode }
                     <th width="5%">${_('Status')}</th>
                     <th width="3%">${_('Progress')}</th>
                     <th width="5%">${_('Group')}</th>
-                    <th width="10%">${_('Started')}</th>
+                    <th width="10%" data-bind="text: interface() != 'schedules' ? '${_('Started')}' : '${_('Modified')}'"></th>
                     <th width="6%">${_('Duration')}</th>
                   </tr>
                   </thead>