Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2021-08-26 17:43:56 +0300
committerWilliam Desportes <williamdes@wdes.fr>2021-08-26 17:43:56 +0300
commit036f544e7e8bf40846fda10cb3200c91dbd66040 (patch)
tree879b609873b098c600047307824403311571ca21 /templates/table
parentcd4be9ac2cd0b93d55de9e0162c28eacf6a23901 (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.twig2
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 %}