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:
parent
e3f10ebd65
commit
2493374d44
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user