diff --git a/ippisite/ippidb/views.py b/ippisite/ippidb/views.py index 328e30a4f4e44ef7ac399376d9479c660b2eada2..703c850bc59f1306f2cac4e2cf9889475b5db887 100644 --- a/ippisite/ippidb/views.py +++ b/ippisite/ippidb/views.py @@ -234,6 +234,7 @@ def compound_list(request): display = request.GET.get('display') if display not in ['l', 't']: display = 'v' + context['display']=display compound_fields = {f.name: f.verbose_name for f in Compound._meta.get_fields() if not(f.is_relation)} sort_by_options = {} for sort_by_option_id in sort_by_option_ids: