Skip to content
Snippets Groups Projects
Commit 2e8b6b54 authored by Donovan Bourlard's avatar Donovan Bourlard
Browse files

Fix date ordering on maturity and action plan list views, #245

parent 601833a4
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,9 @@ CHANGELOG
=========
## [UNRELEASED]
### Fix
- [PLAN D'ACTION] Correction du tri par date, #245
- [MATURITE] Correction du tri par date, #245
## [1.6.3] - 2019-12-03
### Changement
......
......@@ -85,25 +85,5 @@
{% endblock %}
{% block javascripts %}
{# ADMIN #}
{% if is_granted('ROLE_ADMIN') %}
{% set dataTableOptions = {
"aoColumns": [
null,
{ "sType": "datetime-uk" },
null,
null,
]
} %}
{# USER & PREVIEW #}
{% else %}
{% set dataTableOptions = {
"aoColumns": [
{ "sType": "datetime-uk" },
null,
null,
]
} %}
{% endif %}
{{ include('_Utils/_datatable.html.twig', { dataTableOptions: dataTableOptions }) }}
{{ include('_Utils/_datatable.html.twig') }}
{% endblock %}
......@@ -66,29 +66,5 @@
{% endblock %}
{% block javascripts %}
{# ADMIN #}
{% if is_granted('ROLE_ADMIN') %}
{% set dataTableOptions = {
"aoColumns": [
null,
null,
{ "sType": "date-uk" },
null,
null,
null,
]
} %}
{# USER & PREVIEW #}
{% else %}
{% set dataTableOptions = {
"aoColumns": [
null,
{ "sType": "date-uk" },
null,
null,
null,
]
} %}
{% endif %}
{{ include('_Utils/_datatable.html.twig', { dataTableOptions: dataTableOptions }) }}
{{ include('_Utils/_datatable.html.twig') }}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment