Skip to content
Snippets Groups Projects
Commit 406b6242 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

correct the test for pubs number filter set in compounds list

cf #67


Former-commit-id: a153822512ff1a77466fb1da81ebd7fc323ed341
parent 30626159
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</div> </div>
<div class="m-2 d-flex "> <div class="m-2 d-flex ">
<span>{{ compounds.paginator.count }} compounds</span> <span>{{ compounds.paginator.count }} compounds</span>
{% if selected_ppis or selected_diseases or selected_taxonomies or selected_boundcomplexes or molecular_weight != molecular_weight_max or a_log_p != a_log_p_max or nb_donor_h != nb_donor_h_max or pubs != pubs_max %} {% if selected_ppis or selected_diseases or selected_taxonomies or selected_boundcomplexes or molecular_weight != molecular_weight_max or a_log_p != a_log_p_max or nb_donor_h != nb_donor_h_max or pubs != pubs_min %}
<span> <span>
&nbsp;-&nbsp;filters:&nbsp; &nbsp;-&nbsp;filters:&nbsp;
{% if selected_ppis %} {% if selected_ppis %}
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
{% if nb_donor_h != nb_donor_h_max %} {% if nb_donor_h != nb_donor_h_max %}
{% include "slider_badge.html" with param_name="nb_donor_h" param_value=nb_donor_h param_label="H donors" %} {% include "slider_badge.html" with param_name="nb_donor_h" param_value=nb_donor_h param_label="H donors" %}
{% endif %} {% endif %}
{% if pubs != pubs %} {% if pubs != pubs_min %}
{% include "slider_badge.html" with param_name="pubs" param_value=pubs param_label="Publications" %} {% include "slider_badge.html" with param_name="pubs" param_value=pubs param_label="Publications" %}
{% endif %} {% endif %}
</span> </span>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment