Platform Explorer / CMF 1.8

Component org.nuxeo.ecm.platform.faceted.search.jsf.pageproviders

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.faceted.search.jsf.pageproviders">

  <extension target="org.nuxeo.ecm.platform.query.api.PageProviderService"
    point="providers">

      <coreQueryPageProvider name="USER_SAVED_SEARCHES">
        <pattern>
          SELECT * FROM FacetedSearch WHERE dc:creator = ? AND
          ecm:currentLifeCycleState != 'deleted' AND ecm:mixinType != 'HiddenInNavigation'
        </pattern>
        <sort column="dc:title" ascending="true" />
      </coreQueryPageProvider>

      <coreQueryPageProvider name="OTHER_USERS_SAVED_SEARCHES">
        <pattern>
          SELECT * FROM FacetedSearch WHERE dc:creator != ? AND
          ecm:currentLifeCycleState != 'deleted' AND ecm:mixinType != 'HiddenInNavigation'
        </pattern>
        <sort column="dc:title" ascending="true" />
      </coreQueryPageProvider>

  </extension>

</component>