[ansel] Ansel::listGalleries()

Ben Chavet ben at chavet.net
Sat Apr 10 14:45:13 PDT 2004


> 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



More information about the ansel mailing list