// Stock Available : Improve BackOffice interface + Update all SQL requests relative to StockAvailable + code refactoring on Product Class
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10843 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -43,7 +43,13 @@ class NewProductsControllerCore extends FrontController
|
||||
{
|
||||
$this->productSort();
|
||||
|
||||
$nbProducts = (int)Product::getNewProducts($this->context->language->id, (isset($this->p) ? (int)($this->p) - 1 : null), (isset($this->n) ? (int)($this->n) : null), true);
|
||||
$nbProducts = (int)Product::getNewProducts(
|
||||
$this->context->language->id,
|
||||
(isset($this->p) ? (int)($this->p) - 1 : null),
|
||||
(isset($this->n) ? (int)($this->n) : null),
|
||||
true
|
||||
);
|
||||
|
||||
$this->pagination($nbProducts);
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
|
||||
Reference in New Issue
Block a user