Re: Ansel::listGalleries()

Ben Chavet <[email protected]>
Newsgroups gmane.comp.horde.ansel
Message-ID <[email protected]>
> Does Ansel::listGalleries() return the galleries in some deterministic
> fashion?  Meaning, are the galleries always returned a defined order
> (parent1, parent1->child1, parent1->child2, parent1->child2->child3,
> parent2, parent3, parent3->child1).  I'm asking because I'm still having
> a problem with listing of galleries in the XPPublish function.  It lists
> all the galleries, but the order is all messed up (a child of one parent
> coming after another parent, etc.).  It doesn't seem to be in any sorted
> fashion for the parents, either.
>
> I'm going to take a look at the code, but wanted to see if anyone else
> was seeing the same thing or not.

listGalleries() just loops through the array that $ansel_shares->listShares()
returns.  So, we might have to do some checking in listGalleries() or 
go deeper
and figure out what listShares() is trying to do.

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