N°2970 - Reset conditions of joined filter because they can be used later by the Filter() method

This commit is contained in:
Eric
2020-06-03 11:47:12 +02:00
parent f301a283e2
commit 8064a20718
3 changed files with 58 additions and 6 deletions

View File

@@ -1179,8 +1179,7 @@ abstract class DBSearch
if (is_object($oVisibleObjects))
{
$oVisibleObjects->AllowAllData();
$oSearch = $this->Filter($sClassAlias, $oVisibleObjects);
/** @var DBSearch $oSearch */
$oSearch = $oSearch->Filter($sClassAlias, $oVisibleObjects);
$oSearch->SetDataFiltered();
}
}