From 576fda9c4a465c67f649261ff54bc0a5b24228aa Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 19 Feb 2018 18:17:42 +0100 Subject: [PATCH] Sort --- htdocs/website/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 5afea1d8bb3..d2ee6f0c6c9 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -1454,7 +1454,7 @@ if (count($object->records) > 0) { print ''; // Close current websitebar to open a new one - $array=$objectpage->fetchAll($object->id); + $array=$objectpage->fetchAll($object->id, 'ASC,ASC', 'type_container,pageurl'); if (! is_array($array) && $array < 0) dol_print_error('', $objectpage->error, $objectpage->errors); $atleastonepage=(is_array($array) && count($array) > 0);