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 %}
{% block widgets %}
{% if table %}
{% if table or message is not None %}
{% include 'partials/results_load.html' %}
{% endif %}
{% endblock %}

View File

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