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

This commit is contained in:
Klaus Leithoff 2015-10-06 15:09:10 +00:00
parent f724e47b2d
commit ab4b0e1e17

View File

@ -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