mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-30 22:59:52 +02:00
Added an filter constraint based on part tags.
This commit is contained in:
parent
4d3ff7d7b5
commit
4ba58cc621
7 changed files with 234 additions and 4 deletions
|
@ -18,7 +18,7 @@
|
|||
<div class="input-group">
|
||||
{{ form_widget(form.operator, {"attr": {"class": "form-select"}}) }}
|
||||
{{ form_widget(form.value) }}
|
||||
{% if form.vars["text_suffix"] %}
|
||||
{% if form.vars["text_suffix"] is defined and form.vars["text_suffix"] %}
|
||||
<span class="input-group-text">{{ form.vars["text_suffix"] }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
@ -30,4 +30,8 @@
|
|||
|
||||
{% block date_time_constraint_widget %}
|
||||
{{ block('number_constraint_widget') }}
|
||||
{% endblock %}
|
||||
|
||||
{% block tags_constraint_widget %}
|
||||
{{ block('text_constraint_widget') }}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue