From 466b6518b25d0a7e6ec0fb22e0d3514963b63b32 Mon Sep 17 00:00:00 2001 From: phf Date: Tue, 28 Mar 2017 17:18:55 +0200 Subject: [PATCH] Update add the custom value "limit" for the list --- htdocs/inventory/list.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/inventory/list.php b/htdocs/inventory/list.php index cb5b2593c32..ff2c5e4d8d4 100644 --- a/htdocs/inventory/list.php +++ b/htdocs/inventory/list.php @@ -48,6 +48,9 @@ $list = new ListView($db, 'listInventory'); $THide = array('label','title'); echo $list->render(Inventory::getSQL('All'), array( + 'limit' => array( + 'nbLine' => GETPOST('limit') + ), 'allow-field-select' => true, 'link'=>array( 'fk_warehouse'=>''.img_picto('','object_stock.png','',0).' @label@'