Re: Ansel::listGalleries()

Ben Chavet <[email protected]>
Newsgroups gmane.comp.horde.ansel
Message-ID <[email protected]>
> I'm not sure why listGalleries() isn't returnin the galleries in sorted
> order (my pref is to sort by name), but the attached patch will add the
> necessary sorting to the templates/xppublish/list.inc file to create a
> sorted pulldown of galleries.  I also commented out some unecessary code
> (it wasn't being used and just used up some extra CPU cycles and memory).

listGalleries() should be returning sorted arrays.  If it isn't, it 
needs to be
fixed there, not in the display logic.

--Ben

-- 
ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.