Hi,

I followed your recommendations and it's OK because I use "order by" in the 
querymodel-contrib.xml like this :

        <pattern>SELECT * FROM grctran order by grct:dtlivraison</pattern>

In this example : dtlivraison is one field of my own document grctran...

I also put these lines in search-contrib.xml :

  <extension
    target="org.nuxeo.ecm.core.search.service.SearchServiceImpl"
    point="indexableDocType">
    <indexableDocType indexAllSchemas="true" name="grctran" />
  </extension>

  <extension
    target="org.nuxeo.ecm.core.search.service.SearchServiceImpl"
    point="resource">
    <resource name="grctran" prefix="grct" type="schema" indexAllFields="true"/>
  </extension>

Best regards.


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to