Merge branch 'QA_5_0'

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2020-06-22 08:36:39 +02:00
commit d03259ff9c
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
2 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,7 @@ phpMyAdmin - ChangeLog
- issue #16184 Remove chdir logic to fix PHP fatal error "Uncaught TypeError: chdir()"
- issue Support for Twig 3
- issue Allow phpmyadmin/twig-i18n-extension ^3.0
- issue #16201 Trim spaces for integer values in table search
5.0.2 (2020-03-20)
- issue Fixed deprecation warning "implode(): Passing glue string after array is deprecated." function on export page

View File

@ -154,6 +154,9 @@ function verifyAfterSearchFieldChange (index) {
var $thisInput = $('input[name=\'criteriaValues[' + index + ']\']');
// validation for integer type
if ($thisInput.data('type') === 'INT') {
// Trim spaces if it's an integer
$thisInput.val($thisInput.val().trim());
var hasMultiple = $thisInput.prop('multiple');
if (hasMultiple) {
$('#tbl_search_form').validate();