Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
d03259ff9c
@ -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
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user