Skip to content

Commit

Permalink
Fix form when query returns nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed Feb 27, 2024
1 parent 2dd9d0b commit 482cf6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radis/search/templates/search/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h4 class="mb-3">Search Reports</h4>
<div id="search-panel">
{% if form.non_field_errors %}
<div class="mt-3">{% include "bootstrap5/errors.html" %}</div>
{% elif documents %}
{% elif documents != None %}
{% include "search/_search_results.html" %}
{% elif info_template %}
{% include "search/_search_info.html" %}
Expand Down

0 comments on commit 482cf6d

Please sign in to comment.