club: fix typo on ClubSellingView

This commit is contained in:
Antoine Bartuccio 2019-11-28 15:14:51 +01:00
parent bf5fc8750d
commit 4a78157f9a
Signed by: klmp200
GPG Key ID: E7245548C53F904B
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ class ClubSellingView(ClubTabsMixin, CanEditMixin, DetailFormView):
if form.cleaned_data["products"]:
selected_products.extend(form.cleaned_data["products"])
if form.cleaned_data["archived_products"]:
selected_products.extend(form.cleaned_data["selected_products"])
selected_products.extend(form.cleaned_data["archived_products"])
if len(selected_products) > 0:
qs = qs.filter(product__in=selected_products)