bad internal filter with forgeSQLFromUniversalSearchCriteria (#26202)

the filter (s.client:in:(1,2)) not work, same problem with s.client in (1,2)

we need to use now :   (s.client:in:1,2)
This commit is contained in:
Charlène Benke 2023-10-12 18:41:57 +02:00 committed by GitHub
parent 3ba1449602
commit c1488e15fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1376,7 +1376,7 @@ class Form
* @param string $selected Preselected type
* @param string $htmlname Name of field in form
* @param string $filter Optional filters criteras. WARNING: To avoid SQL injection, only few chars [.a-z0-9 =<>] are allowed here, example: 's.rowid <> x'
* If you need parenthesis, use the Universal Filter Syntax, example: '(s.client:in:(1,3))'
* If you need parenthesis, use the Universal Filter Syntax, example: '(s.client:in:1,3)'
* Do not use a filter coming from input of users.
* @param string $showempty Add an empty field (Can be '1' or text to use on empty line like 'SelectThirdParty')
* @param int $showtype Show third party type in combolist (customer, prospect or supplier)