mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Various fixes for the selection of columns / sort order in the lists.
SVN:trunk[2192]
This commit is contained in:
@@ -316,6 +316,19 @@ class DBObjectSet
|
||||
$this->m_iLimitStart = $iLimitStart;
|
||||
}
|
||||
|
||||
public function SetOrderBy($aOrderBy)
|
||||
{
|
||||
if ($this->m_aOrderBy != $aOrderBy)
|
||||
{
|
||||
$this->m_aOrderBy = $aOrderBy;
|
||||
if ($this->m_bLoaded)
|
||||
{
|
||||
$this->m_bLoaded = false;
|
||||
$this->Load();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function GetLimitCount()
|
||||
{
|
||||
return $this->m_iLimitCount;
|
||||
|
||||
Reference in New Issue
Block a user