Jahia Template Forum > query sortBy

0 (0 Good)
0 (0 Bad)

query sortBy

by  jcp »  2011/06/07 20:06

Hello,

i'm having problem with sortBy queries.

I have the following code in my jsp :
lt;query:containerQuery
  • query sortBy
    2011/06/07 20:06

    jcp Hello, <br/><br/>i'm having problem with sortBy queries.<br/><br/>I have the following code in my jsp :<br/>lt;query:containerQuery

  • Number of messages  11
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: query sortBy

    by  pap@commaro.com »  2011/06/07 20:06

    Hello,

    you need to remove indexed='no' from dateReunion ub tge CND as Lucene will need to index the field, if you want to sort on it. After removing it, you need to re-index the site(s).

    Regards,
    Benjamin

    Benjamin Papez (pap@commaro.com)

    Number of messages  220
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: query sortBy

    by  jcp »  2011/06/07 20:06

    Hello,

    thank you for your speed response.
    I have remove the indexed='no' and re-index the site, but I'm still having my problem.

    I'm using the Jahia 6.0 EE version 28889

    Regards

    Jean-Charles
  • Re: query sortBy
    2011/06/07 20:06

    jcp Hello,<br/><br/>thank you for your speed response.<br/>I have remove the indexed='no' and re-index the site, but I'm still having my problem.<br/><br/>I'm using the Jahia 6.0 EE version 28889<br/><br/>Regards<br/><br/>Jean-Charles

  • Number of messages  11
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: query sortBy

    by  pap@commaro.com »  2011/06/07 20:06

    Hello,

    you also have to remove metadata=quot;true

    Benjamin Papez (pap@commaro.com)

    Number of messages  220
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: query sortBy

    by  jcp »  2011/06/07 20:06

    Hello,

    Yes it works now. Thank you a lot.

    Best regards

    Jean-Charles
  • Re: query sortBy
    2011/06/07 20:06

    jcp Hello,<br/><br/>Yes it works now. Thank you a lot.<br/><br/>Best regards<br/><br/>Jean-Charles

  • Number of messages  11
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page