Unterstützung für Projekt- und Baugruppensuche zum QuickSearch-Suggest hinzufügen

This commit is contained in:
Marcel Diegelmann 2026-02-12 11:44:42 +01:00
parent 4911b5bf24
commit 74513b748d
23 changed files with 519 additions and 50 deletions

View file

@ -100,7 +100,9 @@
data-navbar-mode="{% if is_navbar %}true{% else %}false{% endif %}"
data-placeholder-image="{{ asset('img/part_placeholder.svg') }}"
data-autocomplete="{{ path('typeahead_parts', {'query': '__QUERY__'}) }}"
data-detail-url="{{ path('part_info', {'id': '__ID__'}) }}">
data-detail-url="{{ path('part_info', {'id': '__ID__'}) }}"
data-project-detail-url="{{ path('project_info', {'id': '__ID__'}) }}"
data-assembly-detail-url="{{ path('assembly_info', {'id': '__ID__'}) }}">
<input type="hidden" name="keyword" required {{ stimulus_target('elements/part_search', 'input') }}>
</div>