1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 06:51:10 +03:00

don't show implicit update jobs in dashboard

This commit is contained in:
Christian Adams 2019-04-04 11:04:27 -04:00
parent e3f10ebd65
commit 2493374d44

View File

@ -277,7 +277,7 @@ class DashboardJobsGraphView(APIView):
period = request.query_params.get('period', 'month')
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')
failed_query = user_unified_jobs.filter(status='failed')