HOR-1685
This commit is contained in:
@@ -312,6 +312,7 @@ class ListUnassigned extends BaseListUnassigned
|
|||||||
} else {
|
} else {
|
||||||
$criteria->addAscendingOrderByColumn($sort);
|
$criteria->addAscendingOrderByColumn($sort);
|
||||||
}
|
}
|
||||||
|
$this->total = ListUnassignedPeer::doCount($criteria);
|
||||||
if ($paged == 1) {
|
if ($paged == 1) {
|
||||||
$criteria->setLimit( $limit );
|
$criteria->setLimit( $limit );
|
||||||
$criteria->setOffset( $start );
|
$criteria->setOffset( $start );
|
||||||
@@ -327,7 +328,6 @@ class ListUnassigned extends BaseListUnassigned
|
|||||||
$aRow['DEL_PRIORITY'] = G::LoadTranslation( "ID_PRIORITY_{$aPriorities[$aRow['DEL_PRIORITY']]}" );
|
$aRow['DEL_PRIORITY'] = G::LoadTranslation( "ID_PRIORITY_{$aPriorities[$aRow['DEL_PRIORITY']]}" );
|
||||||
$data[] = $aRow;
|
$data[] = $aRow;
|
||||||
}
|
}
|
||||||
$this->total = count($data);
|
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user