Dear Magnolians

This _should_ be an easy one, but after an hour of trying and googling my content nodes are still not being sorted by their modification date.

My query:

/jcr:root/path/to/data//element(*, myDataType) [...@owner = 'superuser'] order by MetaData/@mgnl:lastmodified

- It does something, because when I leave the order by... away I get a different sort order
- But the nodes are definitely not sorted by their modification date.
- Also tried with adding ascending and descending -> no effect
- "MetaData/@mgnl:lastmodified" seems to be correct because I can filter by this, just not sort

Googling for this only returned
http://www.mail-archive.com/[email protected]/msg07985.html

Has anyone solved this? Thanks.

-will

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to