fix: replace unknown Twig toString filter with toRfc4122() call

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Simon Kuehn 2026-05-18 20:12:17 +00:00
parent 818c1ec8f7
commit 53e2d36574

View file

@ -132,7 +132,7 @@
<div class="section-match-{{ i }}" style="display:{% if row.action == 'match' %}block{% else %}none{% endif %};"> <div class="section-match-{{ i }}" style="display:{% if row.action == 'match' %}block{% else %}none{% endif %};">
<select name="aspects[{{ i }}][definitionId]" class="form-select form-select-sm"> <select name="aspects[{{ i }}][definitionId]" class="form-select form-select-sm">
{% for def in allDefs %} {% for def in allDefs %}
<option value="{{ def.id }}" {% if row.preMatchId == def.id|toString %}selected{% endif %}> <option value="{{ def.id.toRfc4122() }}" {% if row.preMatchId == def.id.toRfc4122() %}selected{% endif %}>
{{ def.name }} ({{ def.type.value }}) {{ def.name }} ({{ def.type.value }})
</option> </option>
{% endfor %} {% endfor %}