diff options
author | William Desportes <williamdes@wdes.fr> | 2021-08-26 17:43:56 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2021-08-26 17:43:56 +0300 |
commit | 036f544e7e8bf40846fda10cb3200c91dbd66040 (patch) | |
tree | 879b609873b098c600047307824403311571ca21 /templates/table | |
parent | cd4be9ac2cd0b93d55de9e0162c28eacf6a23901 (diff) |
Correctly display column expressions in the table key list
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'templates/table')
-rw-r--r-- | templates/table/structure/display_structure.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/table/structure/display_structure.twig b/templates/table/structure/display_structure.twig index 056d405c6c..9c404ce09e 100644 --- a/templates/table/structure/display_structure.twig +++ b/templates/table/structure/display_structure.twig @@ -475,7 +475,7 @@ <tr class="noclick"> {% endif %} <td> - {{ column.getName() }} + {% if column.hasExpression() %}{{ column.getExpression() }}{% else %}{{ column.getName() }}{% endif %} {% if column.getSubPart() is not empty %} ({{ column.getSubPart() }}) {% endif %} |