From 68adb6d2d3f8c9bdbb541b6ac2f0ece822d3dca1 Mon Sep 17 00:00:00 2001 From: Goran Topic Date: Mon, 23 Oct 2017 16:26:18 +0900 Subject: [PATCH] Make profile graph only plot successes --- raidar/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raidar/views.py b/raidar/views.py index 0a7f62fc..bb22cb1e 100644 --- a/raidar/views.py +++ b/raidar/views.py @@ -532,7 +532,7 @@ def profile_graph(request): stat = request.POST['stat'] participations = Participation.objects.select_related('encounter').filter( - encounter__era_id=era_id, character__account__user=request.user) + encounter__era_id=era_id, character__account__user=request.user, encounter__success=True) try: if area_id.startswith('All'):