N°1724 - Fix external key search error when an UNION is used as a filter in the datamodel

This commit is contained in:
Eric
2018-11-05 17:43:50 +01:00
parent 518d94f5f3
commit e4619fbc0f
3 changed files with 7 additions and 5 deletions

View File

@@ -604,7 +604,9 @@ class DBUnionSearch extends DBSearch
*/
public function GetCriteria()
{
return new TrueExpression();
// We're at the limit here
$oSearch = reset($this->aSearches);
return $oSearch->GetCriteria();
}
protected function IsDataFiltered()