[opencms-dev] allInSubTreeDateDesc trouble

Paul-Inge Flakstad flakstad at npolar.no
Fri May 18 13:20:58 CEST 2012


Hi Olli,

The collector allInSubTreePriorityDateDesc should get the order right, as long as you're mapping a timestamp to the collector.date property, like this:
<mapping element="Published" mapto="property:collector.date" />

Best regards,
Paul

From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Olli Aro
Sent: 16. mai 2012 11:53
To: opencms-dev at opencms.org
Subject: [opencms-dev] allInSubTreeDateDesc trouble

Hi all,

I have some news items I am collecting in my JSP using allInSubTreeDateDesc. The issue I have is that the order seems to be random. I have checked collector.date property for all items and the dates seem to be ok for them, so they should be in correct order.

Has anyone else experienced this? Any idea what might cause this?

Regards,

Olli


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120518/1f3b2195/attachment.htm>


More information about the opencms-dev mailing list