From 477128ad5386ce634cfd2848767caa1c507277a9 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Wed, 26 Jan 2022 13:58:49 +0100 Subject: [PATCH] =?UTF-8?q?:bulb:=20N=C2=B04023=20More=20phpdoc=20on=20\DB?= =?UTF-8?q?ObjectSearch::AddCondition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/dbobjectsearch.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/dbobjectsearch.class.php b/core/dbobjectsearch.class.php index 9b57078a8..041e31e1a 100644 --- a/core/dbobjectsearch.class.php +++ b/core/dbobjectsearch.class.php @@ -416,6 +416,10 @@ class DBObjectSearch extends DBSearch * @param string $sFilterCode * @param mixed $value * @param string $sOpCode operator to use : 'IN', 'NOT IN', 'Contains',' Begins with', 'Finishes with', ... + * If no operator is specified then : + * * for id field we will use "=" + * * for other fields we will call the corresponding {@link AttributeDefinition::GetSmartConditionExpression} method impl + * to generate the expression * @param bool $bParseSearchString * * @throws \CoreException