diff --git a/ippisite/ippidb/views.py b/ippisite/ippidb/views.py index e06ba57612e474cca1082bdb603101d8604e3f19..f4056df8260fa90b3a588d91097b6e1409a493e0 100644 --- a/ippisite/ippidb/views.py +++ b/ippisite/ippidb/views.py @@ -168,7 +168,7 @@ def compound_list(request): """ Display the list of compounds """ - compounds = Compound.objects.all().order_by('id') + compounds = Compound.objects.order_by('id') # if filtering on "action on PPI" if request.GET.get('ppi'): compounds = compounds.filter(compoundaction__ppi__id__in=request.GET.getlist('ppi'))