mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
forum and core: fix error 500 when query is empty on search
This commit is contained in:
@ -4,9 +4,9 @@
|
||||
|
||||
{% block content %}
|
||||
<div id="forum">
|
||||
{{ display_search_bar() }}
|
||||
{% if object_list|length != 0 %}
|
||||
<br>
|
||||
{{ display_search_bar() }}
|
||||
<div class="search-results">
|
||||
{% for m in object_list %}
|
||||
{{ display_message(m, user) }}
|
||||
|
Reference in New Issue
Block a user