[imp] Sorting Folders

Jan Schneider jan@horde.org
Thu, 6 Jun 2002 15:38:25 +0200


Zitat von Rodolfo Segleau <segleaur@mechanus.org>:

> Quoting Jan Schneider <jan@horde.org>:
> 
> > Zitat von Rodolfo Segleau <segleaur@mechanus.org>:
> > 
> > > 
> > > Perhaps I overlooked this feature (or config option) but does anyone
> know
> > > how 
> > > to sort the subscribed folders in Alphabetical order (or by size)?
> > 
> > They ARE sorted in alphabetical order.
> > 
> > Jan.
> > 
> 
> I wish that was the case, but they are sorted right now by the create
> date. As 
> I create the folders, they are appended to the folder list that way. The
> drop 
> down menus (the open folder and copy/move functions) are also sorted in
> the 
> exact same way the folder screen is. Perhaps it's a switch in one of the
> lib 
> files?

No, the sort routines are hardcoded in lib/Folder.php (drop down list) and
lib/Tree.php (folder view). Don't know what's going wrong with your setup
here, but if you want to debug it start in these files.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft