mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Merge pull request #3618 from rooftopcellist/dashboard_sync_jobs
don't show implicit update jobs in dashboard Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -277,7 +277,7 @@ class DashboardJobsGraphView(APIView):
|
|||||||
period = request.query_params.get('period', 'month')
|
period = request.query_params.get('period', 'month')
|
||||||
job_type = request.query_params.get('job_type', 'all')
|
job_type = request.query_params.get('job_type', 'all')
|
||||||
|
|
||||||
user_unified_jobs = get_user_queryset(request.user, models.UnifiedJob)
|
user_unified_jobs = get_user_queryset(request.user, models.UnifiedJob).exclude(launch_type='sync')
|
||||||
|
|
||||||
success_query = user_unified_jobs.filter(status='successful')
|
success_query = user_unified_jobs.filter(status='successful')
|
||||||
failed_query = user_unified_jobs.filter(status='failed')
|
failed_query = user_unified_jobs.filter(status='failed')
|
||||||
|
|||||||
Reference in New Issue
Block a user