mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-04 08:21:22 +00:00
Serialize ticket filter parameters with JSON groups in person list view.
- Updated `list.html.twig` to serialize `ticketFilterParams` using the 'read' group for JSON normalization.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
{% block js %}
|
||||
{{ parent() }}
|
||||
<script type="text/javascript">
|
||||
window.ticketFilterParams = {{ ticketFilterParams|serialize|raw }};
|
||||
window.ticketFilterParams = {{ ticketFilterParams|serialize('json', {'groups': ['read']})|raw }};
|
||||
</script>
|
||||
{{ encore_entry_script_tags('vue_ticket_list') }}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user