[ansel] gallery ordering issue

Chuck Hagenbuch chuck at horde.org
Thu Apr 1 12:16:58 PST 2004


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

> The code for honoring the datatree_order value is working as it should,
> but the value isn't actually being written when an image is being
> uploaded (at least not through the XP Publish interface).  Worse, the
> code that I wrote for the reorder function sets the order value (since
> it doesn't exist) to a sequentially incremented integer value starting
> at 1... so you end up with order value collisions... the end result
> being unpredictable.  If you never use the reorder function, then you
> just end up with some images with explicit orders set and other
> without... and this seems to have unpredictable results as well.

Shouldn't be that bad, actually, but I can see wanting it to be more
predictable.

> Is the datatree_order field currently used by anyting other than Ansel?

Yes.

-chuck

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


More information about the ansel mailing list