* code for task#2171.
This commit is contained in:
@@ -40,6 +40,10 @@ class product extends control
|
||||
*
|
||||
* @param string $locate locate to browse page or not. If not, display all products.
|
||||
* @param int $productID
|
||||
* @param string $orderBy
|
||||
* @param int $recTotal
|
||||
* @param int $recPerPage
|
||||
* @param int $pageID
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
|
||||
@@ -463,10 +463,12 @@ class productModel extends model
|
||||
/**
|
||||
* Get product stats.
|
||||
*
|
||||
* @param string $orderBy
|
||||
* @param int $pager
|
||||
* @access public
|
||||
* @return array
|
||||
* @return array
|
||||
*/
|
||||
public function getStats($orderBy = 'code asc', $pager = null)
|
||||
public function getStats($orderBy = 'code_asc', $pager = null)
|
||||
{
|
||||
$this->loadModel('report');
|
||||
$this->loadModel('story');
|
||||
|
||||
Reference in New Issue
Block a user