Obsolescence: do not lose external keys pointing to obsolete data

SVN:trunk[4786]
This commit is contained in:
Romain Quetiez
2017-06-30 14:06:08 +00:00
parent dbe3e94d5c
commit 0844beca79

View File

@@ -78,7 +78,16 @@ abstract class DBSearch
}
public function GetShowObsoleteData()
{
return $this->m_bShowObsoleteData;
if ($this->m_bArchiveMode || $this->IsAllDataAllowed())
{
// Enable obsolete data too!
$bRet = true;
}
else
{
$bRet = $this->m_bShowObsoleteData;
}
return $bRet;
}
public function NoContextParameters() {$this->m_bNoContextParameters = true;}