mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°931: DBSearch AddCondition updated for tags
This commit is contained in:
@@ -480,6 +480,11 @@ class DBObjectSearch extends DBSearch
|
||||
$oNewCondition = Expression::FromOQL($sOQLCondition);
|
||||
break;
|
||||
|
||||
case 'MATCHES':
|
||||
$oRightExpr = new ScalarExpression($value);
|
||||
$oNewCondition = new MatchExpression($oField, $oRightExpr);
|
||||
break;
|
||||
|
||||
case 'Contains':
|
||||
case 'Begins with':
|
||||
case 'Finishes with':
|
||||
|
||||
Reference in New Issue
Block a user