Full text search shortcuts: allow the use of class names containing underscores and numbers (e.g. Processus métier: écarissage)

SVN:trunk[3189]
This commit is contained in:
Romain Quetiez
2014-06-03 17:57:53 +00:00
parent e8a7695353
commit ee3795ef6d

View File

@@ -539,7 +539,7 @@ try
// Check if a class name/label is supplied to limit the search
$sClassName = '';
if (preg_match('/^([a-zA-Z]+):(.+)$/', $sFullText, $aMatches))
if (preg_match('/^([^\"]+):(.+)$/', $sFullText, $aMatches))
{
$sClassName = $aMatches[1];
if (MetaModel::IsValidClass($sClassName))