N°2746 - Fix empty search for TagSet

This commit is contained in:
Eric
2020-02-11 14:51:22 +01:00
parent e9c1467026
commit 93c9783b1a

View File

@@ -201,9 +201,11 @@ class CriterionToOQL extends CriterionConversionAbstract
}
}
// This allow to search for complete words
$sValue = '"'.implode('" "', $aRawValues).'" _';
if (empty($sValue))
if (!empty($aRawValues))
{
$sValue = '"'.implode('" "', $aRawValues).'" _';
}
else
{
if ($bHasUnDefined)
{