From 5bfdf52d3f7ae1e522256789c31469871bf2b82e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr>
Date: Tue, 6 Mar 2018 15:49:56 +0100
Subject: [PATCH] repair selection on bound complexes

Former-commit-id: 73176f49ec2aebc6c9a9540e48e0da37f40c7dd6
---
 ippisite/ippidb/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ippisite/ippidb/views.py b/ippisite/ippidb/views.py
index 958d2b86..01dca365 100644
--- a/ippisite/ippidb/views.py
+++ b/ippisite/ippidb/views.py
@@ -176,7 +176,7 @@ def compound_list(request):
         compounds = compounds.filter(compoundaction__ppi__diseases__id__in=request.GET.getlist('disease'))
     if request.GET.get('taxonomy'):
         compounds = compounds.filter(compoundaction__ppi_id__ppicomplex__complex__protein__organism__id__in=request.GET.getlist('taxonomy'))
-    if request.GET.get('boundcomplexes'):
+    if request.GET.get('boundcomplex'):
         compounds = compounds.filter(compoundaction__ppi_id__ppicomplex__complex__id__in=request.GET.getlist('boundcomplex'))
     ppis_all = request.GET.get('ppis_all', None)
     diseases_all = request.GET.get('diseases_all', None)
-- 
GitLab