diff --git a/HISTORY.rst b/HISTORY.rst index 097607a2e..9ac90c585 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -51,6 +51,7 @@ End-User Summary - Fixed smallvariant flags filter query (#502). - Added flags `segregates`, `doesnt_segregate` and `no_disease_association` to file export (#502). - Adding feature to enable and configure link-out to HGMD (#576). +- Warning in the case of truncated displayed results (#641). Full Change List ================ @@ -76,6 +77,7 @@ Full Change List - Added flags `segregates`, `doesnt_segregate` and `no_disease_association` to file export (#502). - Converted not cooperative tooltip to standard title on Filter & Display button (#508). - Adding feature to enable and configure link-out to HGMD (#576). +- Warning in the case of truncated displayed results (#641). ------ v1.2.0 diff --git a/variants/templates/variants/filter_result/table.html b/variants/templates/variants/filter_result/table.html index dfaf20e01..fb1ce379c 100644 --- a/variants/templates/variants/filter_result/table.html +++ b/variants/templates/variants/filter_result/table.html @@ -149,6 +149,18 @@

{% endif %} {% endif %} + {% if result_rows|length < result_count %} +
+

Caution!

+

+ Your result has been truncated! + Only the first {{ result_rows|length }} of a total of {{ result_count }} rows are displayed (sorted by coordinate). + When using prioritization, only these {{ result_rows|length }} rows are considered for prioritization. + You should consider increasing the maximal row count via: + "More ..." (form tab) > "Miscellaneous" > "Result row limit" +

+
+ {% endif %}
Results {% if compound_recessive_index %} @@ -220,7 +232,15 @@

{% endif %} - First {{ result_rows|length }} of {{ result_count }} records + {% if result_rows|length >= result_count %} + + All {{ result_rows|length }} record + + {% else %} + + First {{ result_rows|length }} of {{ result_count }} records + + {% endif %} .