fix: [UI] index searches will handle spaces correctly

pull/9140/head
iglocska 2023-06-14 18:39:06 +02:00
parent 1a19d76549
commit 7853cf70c2
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class AppController extends Controller
public $helpers = array('OrgImg', 'FontAwesome', 'UserName');
private $__queryVersion = '150';
private $__queryVersion = '151';
public $pyMispVersion = '2.4.172';
public $phpmin = '7.2';
public $phprec = '7.4';

View File

@ -2303,7 +2303,7 @@ function runIndexQuickFilterFixed(preserveParams, url, target) {
searchKey = 'searchall';
}
if ($quickFilterField.val().trim().length > 0) {
preserveParams[searchKey] = encodeURIComponent($quickFilterField.val().trim());
preserveParams[searchKey] = encodeURIComponent($quickFilterField.val().trim()).replace('%20', '+');
} else {
delete preserveParams[searchKey]
}