mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°1724 - Fix external key search error when an UNION is used as a filter in the datamodel
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user