Also load results pane with errors on load

This commit is contained in:
Mark Veidemanis 2022-12-01 07:20:35 +00:00
parent ac3a57a2e8
commit f1a68f92a0
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,7 @@
{% endblock %} {% endblock %}
{% block widgets %} {% block widgets %}
{% if table %} {% if table or message is not None %}
{% include 'partials/results_load.html' %} {% include 'partials/results_load.html' %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -287,6 +287,7 @@ class DrilldownTableView(SingleTableView):
extra_params["tags"] = tags extra_params["tags"] = tags
context = db.query_results(request, query_params, **extra_params) context = db.query_results(request, query_params, **extra_params)
# Unique is for identifying the widgets. # Unique is for identifying the widgets.
# We don't want a random one since we only want one results pane. # We don't want a random one since we only want one results pane.
context["unique"] = "results" context["unique"] = "results"