On Jun 25, 2009, at 11:32 AM, Will Scheidegger wrote:

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.

I struggled with this for a while and ended up getting the unsorted list and then sorting programatically :(

Tom


----------------------------------------------------------------
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