Hi, Nice to hear you like it! Sorting should work in the latest version available on mmapps (V1.7.2).
Basic rule is that the field you want to use for sorting has te be indexed. And this is a bit of a hack (because of a limitation i have to fix), you have to set the type of the field to 'number' to make it text sortable: >From configuration: <field name="title" type="number">sorttitle</field> >From jsp: <lm:sort field="sorttitle" /> Here an example using a date, the type is also important here: >From configuration: <field name="modificationdate" type="date" /> >From jsp: <lm:sort field="modificationdate" reverse="true" /> I'm currently working on a new version and will take this 'hack' on sorting text into account and make it more elegant. Wouter > Anyway, the docs/samples aren't very clear about how to use the sort tag. > According to somebody on IRC, it isn't even implemented yet? > If it's not implemented, does anybody know a workaround? _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
