From a6d32f848ec8caedc014521f9cfd36525854d4db Mon Sep 17 00:00:00 2001 From: XingQue Date: Sat, 27 Jun 2026 18:22:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20filter=5Fpenalty=5Fqs=20=E5=90=88?= =?UTF-8?q?=E5=B9=B6=20Q=20=E6=9D=A1=E4=BB=B6=E5=88=87=E7=89=87=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jituan/services/club_penalty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jituan/services/club_penalty.py b/jituan/services/club_penalty.py index d7e203b..acba680 100644 --- a/jituan/services/club_penalty.py +++ b/jituan/services/club_penalty.py @@ -153,7 +153,7 @@ def _filter_club_penalty_like_qs(qs, request, user_id_field, order_id_field): if not parts: return qs.none() combined = parts[0] - for p in parts[1]: + for p in parts[1:]: combined |= p return qs.filter(combined)