Merge branch 'QA_5_2'

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2022-11-19 18:45:12 +01:00
commit 5afd74a205
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
3 changed files with 6 additions and 2 deletions

View File

@ -62,6 +62,8 @@ phpMyAdmin - ChangeLog
- issue #17777 Fix Uncaught TypeError: Cannot read properties of null (reading 'inline') on datepickers when re-opened
- issue Fix Original theme buttons style and login form width
- issue #17892 Fix closing index edit modal and reopening causes it to fire twice
- issue #17606 Fix preview SQL modal not working inside "Add Index" modal
- issue Fix PHP error on adding new column on create table form
5.2.0 (2022-05-10)
- issue #16521 Upgrade Bootstrap to version 5

View File

@ -61,7 +61,7 @@
"nikic/fast-route": "^1.3",
"phpmyadmin/motranslator": "^5.0",
"phpmyadmin/shapefile": "^3.0.1",
"phpmyadmin/sql-parser": "^5.5",
"phpmyadmin/sql-parser": "dev-master#a9cd167be77829ec2dd4496ce1010ed6abde92f8",
"phpmyadmin/twig-i18n-extension": "^4.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0",

View File

@ -215,7 +215,9 @@
{% for mimekey, transform in available_mime['transformation'] %}
{% set parts = transform|split(':') %}
<option value="{{ available_mime['transformation_file'][mimekey] }}" title="{{ get_description(available_mime['transformation_file'][mimekey]) }}"
{{- column_meta['Field'] is defined and mime_map[column_meta['Field']]['transformation'] is defined
{{- column_meta['Field'] is defined
and mime_map[column_meta['Field']]['transformation'] is defined
and mime_map[column_meta['Field']]['transformation'] is not null
and mime_map[column_meta['Field']]['transformation'] matches '@' ~ available_mime['transformation_file_quoted'][mimekey] ~ '3?@i' ? ' selected'}}>
{{ get_name(available_mime['transformation_file'][mimekey]) ~ ' (' ~ parts[0]|lower ~ ':' ~ parts[1] ~ ')' }}
</option>