The package is configured via a documentSorter.config file located in the default umbraco config folder.

To define a new sort rule, create an add element with the following attributes.
  • field - The field name to sort on. You can also sort on the following reserved fields - id, nodeName, createDate, updateDate. Each reseved field will automaticaly override the type attribute with its respective data type.
  • type - Must be either Alpha, Numeric or Date. Numeric fields must currently be of type int.
  • order - Must be either Asc or Desc. Sorts the list in either ascending or descending order.
  • docTypeAlias (Optional) - The doc type alias of the documents to be sorted, if undefined, applies to all

Last edited Jul 17, 2010 at 12:17 PM by mattbrailsford, version 3

Comments

No comments yet.