[opencms-dev] Collector not sorting

EdCincy edcincy at yahoo.com
Wed Apr 11 18:01:50 CEST 2007


For some reason, the colllector allInFolderPriorityDateDesc does not seem to
be sorting as it should.

Here is part of my XSD...

<xsd:sequence>
			<xsd:element name="Name" type="OpenCmsString" />
			<xsd:element name="City" type="OpenCmsString" />
			<xsd:element name="Amount" type="OpenCmsString" />
			<xsd:element name="WinnerImage" type="OpenCmsVfsFile"/>
			<xsd:element name="WinningDate" type="OpenCmsDateTime"/>					
			<xsd:element name="Expiration" type="OpenCmsDateTime" />
</xsd:sequence>


Then, here are my mappings...

<mappings>
				<mapping element="Name" mapto="property:Title" />
				<mapping element="WinningDate" mapto="property:collector.date" />
				<mapping element="Expiration" mapto="attribute:dateexpired" />
</mappings>


When using the collector allInFolderPriorityDateDesc the results are NOT
being sorted by the "WinningDate" even though it is mapped to the "date"
collector.

I do not have a "Priority" element in the XSD.  I thought that maybe the
collector needed a "Priority" in order for the collector to work, so I added
one and set it to default to "1" for all.  Sorting still did not work
correctly.

Anyone experience anything like this?

-- 
View this message in context: http://www.nabble.com/Collector-not-sorting-tf3560315.html#a9942727
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list