From fe3c93d8782ea5e35aa70f3fcd48ea52d49cfaaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr>
Date: Mon, 12 Feb 2018 15:05:29 +0100
Subject: [PATCH] keep display type (thumbnail/list/table) even if selection on
 left changes

Former-commit-id: 537009695364ebc48df8cb8d8472581c3a64c516
---
 ippisite/ippidb/templates/compound_list.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ippisite/ippidb/templates/compound_list.html b/ippisite/ippidb/templates/compound_list.html
index 593dc1ca..84660bfc 100644
--- a/ippisite/ippidb/templates/compound_list.html
+++ b/ippisite/ippidb/templates/compound_list.html
@@ -35,6 +35,7 @@
   {% include "multiselection_list_menu.html" with label="Disease" selected_list=selected_diseases unselected_list=diseases param_name="disease" all_param_name="diseases_all" all_param_value=diseases_all %}
   {% include "multiselection_list_menu.html" with label="Organism" selected_list=selected_taxonomies unselected_list=taxonomies param_name="taxonomy" all_param_name="taxonomies_all" all_param_value=taxonomies_all %}
   {% include "multiselection_list_menu.html" with label="Bound complex" selected_list=selected_boundcomplexes unselected_list=boundcomplexes param_name="boundcomplex" all_param_name="boundcomplexes_all" all_param_value=boundcomplexes_all %}
+  <input type="hidden" name="display" value="{{ display }}" />
 </form>
 </div>
 
-- 
GitLab