mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 01:28:47 +02:00
N°870 - Fix the display of archived objects in the dashlets when activating/deactivating the archive mode.
SVN:trunk[5226]
This commit is contained in:
@@ -49,7 +49,14 @@ abstract class DBSearch
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->Init();
|
||||
}
|
||||
|
||||
protected function Init()
|
||||
{
|
||||
// Set the obsolete and archive modes to the default ones
|
||||
$this->m_bArchiveMode = utils::IsArchiveMode();
|
||||
$this->m_bShowObsoleteData = true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -357,6 +364,10 @@ abstract class DBSearch
|
||||
{
|
||||
$oResultFilter->SetInternalParams($aParams);
|
||||
}
|
||||
|
||||
// Set the default fields
|
||||
$oResultFilter->Init();
|
||||
|
||||
return $oResultFilter;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user