[dev] Re: Importing image attachments from IMP into Ansel.
Ben Chavet
ben at horde.org
Thu Mar 17 09:26:34 PST 2005
> That being said, it looks like the output of the albums (if 'name'
> sorting is selected in Ansel) is completely alphabetical - that is, it
> completely ignores the structure of the gallery tree. i.e. this
> gallery tree:
>
> D
> +- B
> +- A
> +- C
>
> is rendered in the select drop-down as:
>
> A
> B
> C
> D
>
> which is alphabetically correct, but not very intuitive. I know there
> are several of you out there who know DataTree much better than I do
> (Ben? Duck?) so my question is 1) is there a way to sort by name and
> maintain the tree structure and 2) if there isn't, how hard would it be
> to add this?
Ah, that would be a side effect of using DataTree::sortByAttributes().
This sounds like a good candidate for Tree_select. I'll work on it
when I get a chance.
--Ben
More information about the dev
mailing list