From: Diane Trout Date: Wed, 22 Jan 2014 22:10:49 +0000 (-0800) Subject: pass filters a string not an undefined variable X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=7f57cb3f65bcaa2c7de359e3e7c2a0d10d44e0d8 pass filters a string not an undefined variable --- diff --git a/htsworkflow/frontend/samples/views.py b/htsworkflow/frontend/samples/views.py index df7b7ba..2e0b07d 100644 --- a/htsworkflow/frontend/samples/views.py +++ b/htsworkflow/frontend/samples/views.py @@ -99,7 +99,7 @@ def library(request, todo_only=False): queryset = Library.objects.filter(hidden__exact=0) filters = {'hidden__exact': 0} if todo_only: - filters[lane] = None + filters['lane'] = None # build changelist fcl = HTSChangeList(request, Library, list_filter=['affiliations', 'library_species'],