mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
Bug fix for queries where the selected class is not the first one in the list
SVN:trunk[2160]
This commit is contained in:
@@ -1970,7 +1970,8 @@ abstract class MetaModel
|
||||
{
|
||||
throw new CoreException("Wrong direction in ORDER BY spec, found '$bAscending' and expecting a boolean value");
|
||||
}
|
||||
$sFirstClassAlias = $oFilter->GetFirstJoinedClassAlias();
|
||||
$sFirstClassAlias = $oFilter->GetClassAlias();
|
||||
|
||||
if (self::IsValidAttCode($oFilter->GetClass(), $sFieldAlias))
|
||||
{
|
||||
$oAttDef = self::GetAttributeDef($oFilter->GetClass(), $sFieldAlias);
|
||||
|
||||
Reference in New Issue
Block a user