N°931: DBSearch AddCondition updated for tags

This commit is contained in:
Eric
2018-09-17 12:46:46 +02:00
parent f1a8bb08da
commit 1debf77ab4
2 changed files with 98 additions and 0 deletions

View File

@@ -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':