Re: purpose of datatree_order field in SQL?

"Heath S. Hendrickson" <[email protected]>
Newsgroups gmane.comp.horde.ansel
Message-ID <[email protected]>
Chuck Hagenbuch wrote:

>> 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.
>
Okay... but is datatree_order actually being used for anything at the 
moment?  Should the following code work to set the order, then?


$neworder = Util::getFormData($id . '_order');
$image->data['order'] = $neworder;
$image->update();

Will this be automatically reflected in the gallery display, or do I 
have to make modifications to the gallery display code to be "order" aware?

Thanks,
h
-- 
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.