[dev] Re: Datatree patch

Chuck Hagenbuch chuck at horde.org
Tue Feb 15 20:02:53 PST 2005


Quoting Ben Chavet <ben at chavet.net>:

> I've been trying to figure out how to get a list of users who have 
> datatree objects in a given group for quite a while now.  The 
> attached patch is the only way I can think of to get this data.
>
> My motivation is to be able to present a list of users who have 
> galleries in ansel.  I'm trying to clean up ansel's UI, and this 
> would be a good step in that direction.  I'm sure this could be 
> useful in other applications at some point, too.

How about, instead, a function to get all possible values of any given 
attribute? I don't remember if galleries store their owner as an 
attribute or not, so that could require some rethinking, or a function 
like what you proposed as well.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list