mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-18 16:18:47 +02:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user