-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 6.0-HF18, 7.4
-
Component/s: Dashboard / OpenSocial (deprecated), Query & PageProvider
It makes more sense to sort on dc:issued instead of dc:modified.
<extension target="org.nuxeo.ecm.platform.query.api.PageProviderService" point="providers"> <coreQueryPageProvider name="domain_published_documents"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM Document WHERE ecm:path STARTSWITH ? AND ecm:mixinType != 'Folderish' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:mixinType != 'SystemDocument' AND ecm:isCheckedInVersion = 0 AND ecm:isProxy = 1 </pattern> <pageSize>5</pageSize> <sort ascending="false" column="dc:issued"/> </coreQueryPageProvider> </extension>