From ab4b0e1e17e64cc7c191a9b971bf74f60bd67960 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 6 Oct 2015 15:09:10 +0000 Subject: [PATCH] only do the sorting when we do a topLevel Query or a retrieval of ALL. ; give extracare on the retrieval of folders in shared and others on subscription, and when folders subscribed in such namespaces are deeply nested within without rights of list on the branches leading to the leaf --- mail/inc/class.mail_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index c44da59b2d..4a1fe63b61 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -268,7 +268,7 @@ class mail_ui } // Initial tree's options, the rest would be loaded dynamicaly by autoloading, // triggered from client-side. Also, we keep this here as - $sel_options['foldertree'] = $this->mail_tree->getTree(null,$profileId,1,true); + $sel_options['foldertree'] = $this->mail_tree->getTree(null,$profileId,1,true,false,true); //Get all subscribed folders // as getting all subscribed folders is very fast operation