[ansel] purpose of datatree_order field in SQL?

Chuck Hagenbuch chuck at horde.org
Sun Mar 21 19:57:34 PST 2004


Quoting "Heath S. Hendrickson" <heath at outerspaceconsultants.com>:

> I've been working on adding the ability to set an order for images in a
> gallery, and Ben had commented about the mystery function _reorder() in
> the DataTree driver...  I notice that it uses the datatree_order field
> in the horde_datatree table, but all I see in my table are NULL values...
>
> Can someone shed any light on the intended purpose of this field?

To declare a specific order for datatree values on the same level of the tree.

> My current plans are to just create an attribute of 'order' and use that
> for the image order settings...

That'd be a reinvented wheel...

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the ansel mailing list