Hi Paul, There is a patch to do this for you http://issues.apache.org/jira/browse/COCOON-2032 And this is how your definition would look: <fd:repeater-action id="sortByPriorityAscending" command="sort-by" repeater="rep" field="Priority" asc="true" /> <fd:repeater-action id="sortByPriorityDescending" command="sort-by" repeater="rep" field="Priority" asc="false" />
Regards, Anish Paul Joseph-3 wrote: > > Hi There, > > Does anyone know if the new repeater widget with pagination support a > reverse sort? > > One of my columns ranks Priority, with 1 being the highest and 4 the > lowest. Sorting brings all the items of status 4 to the top whereas I > would like items with status 1 to come to the top on the sort. > > Thx.! > Paul > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://www.nabble.com/repeater-with-pagination--reverse-sort--tp23253513p23575251.html Sent from the Cocoon - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
