diff --git a/ippisite/ippidb/views.py b/ippisite/ippidb/views.py index 22e88df07107a8d30801dda39a8c8e783cba7136..8e746a22a6b0a6c0c7e20be40887cb8d3b31ab3f 100644 --- a/ippisite/ippidb/views.py +++ b/ippisite/ippidb/views.py @@ -195,6 +195,8 @@ def compound_list(request): compounds = compounds.filter(compoundaction__ppi__id__in=request.GET.getlist('ppi')) if request.GET.get('disease'): 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')) try: ppis_limit = int(request.GET.get('ppis_limit')) except: