Hi,
I have changed the queryModel descriptor syntax to use sortColumn /
sortAscending instead of orderBy / orderDirection.
Please note that sortAscending is now boolean, while orderDirection used to be
a string (ASC/DESC).
If you have custom queryModelDescriptors, you may need to update them, and
possibly the schema used by the models.
So for a statefull query model, you would have
<queryModel ..>
<whereClause ../>
<sortColumn>
<field schema="search" name="title" />
</sortColumn>
<sortAscending>
<field schema="search" name="sortAscending"/>
</sortAscending>
</queryModel>
and for a stateless query model, you may have
<queryModel ..>
<pattern ../>
<sortable value="true" defaultSortColumn="title" defaultSortAscending="true" />
</queryModel>
in order to allow the results obtained from these query models to be reordered.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm