Various fixes for the selection of columns / sort order in the lists.

SVN:trunk[2192]
This commit is contained in:
Denis Flaven
2012-09-20 07:55:25 +00:00
parent 54a3a1a89a
commit d38b79de76
4 changed files with 101 additions and 32 deletions

View File

@@ -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;