feat: added text search for title and description
This commit is contained in:
@@ -59,6 +59,18 @@
|
||||
<option value="closed" {% if selected_status == "closed" %}selected{% endif %}>Erledigt</option>
|
||||
</select>
|
||||
</form>
|
||||
<form method="get" style="margin-bottom: 1.5rem;">
|
||||
<input type="text" name="q" placeholder="🔍 Suche nach Titel oder Beschreibung"
|
||||
value="{{ search_query }}" style="padding: 0.4rem; width: 60%; max-width: 300px;">
|
||||
{% if selected_status %}
|
||||
<input type="hidden" name="status" value="{{ selected_status }}">
|
||||
{% endif %}
|
||||
<button type="submit">Suchen</button>
|
||||
</form>
|
||||
|
||||
{% if search_query %}
|
||||
<p>Ergebnisse für „<strong>{{ search_query }}</strong>“:</p>
|
||||
{% endif %}
|
||||
|
||||
{% for ticket in tickets %}
|
||||
<div class="ticket-item">
|
||||
|
||||
Reference in New Issue
Block a user