Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-18371

Change sort criteria of page provider 'domain_published_documents' to 'dc:issued'

    XMLWordPrintable

    Details

      Description

      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>
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: