xjc 2 vuotta sitten
vanhempi
commit
a15c6eb8be
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/weixin/controls.py

+ 1 - 1
src/weixin/controls.py

@@ -3106,7 +3106,7 @@ def get_match_winlost_top5(**kwargs):
     """
     data = []
     cur_match_id = ccc.get_cur_match().id
-    matchs = cm.Match.objects.filter(id__gte=8).order_by("-id")
+    matchs = cm.Match.objects.filter(id__gte=8,match_status__in=[3,4]).order_by("-id")
     for match in matchs:
         match_id = match.id
         match_name = match.name