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

  (jcp)

Number of messages  11
Registration date
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

  (jcp)

Number of messages  11
Registration date
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

  (jcp)

Number of messages  11
Registration date
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