Emiliano wrote:
>
> > Is it possible to sort articles in a tree by more than one criteria?
> >
> > For example, to sort first by the extra1 and if those are the same, to sort
> > by reverse score? I tried to do that like this:
> > but that will only work with the first sort item. There's probably
> > something obvious I'm missing here.
>
> That will probably not do what you think it does. The first 'sort
> parameter' will not match existing criteria and default to 'created DESC',
> the second is the type parameter which is converted to long and which will
> be 0 (any).
>
> We don't have multiple sort criteria currently, but I think it's a good
> idea and I'll keep it in mind for the 2.0 design. For the time being
> you're going to have to fetch the lot and sort them.
It is not a problem to add multiple sorts to 1.4, probably I'll do it
during this week. For the moment I could fix number of sorts by less
than 32 (to comply efficientness and fool-proofness).
--
Alexander
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]