Search in backoffice for title 'toto' is converted to
title like '%toto%'
Search in backoffice for title 'toto,titi' is converted to
title like '%toto%' or title like '%titi%'
Search in backoffice for title 'toto,titi' and lastmodifier before 2/2/13 is converted to
title like '%toto%' or title like '%titi%' and lastmodified < '2013-02-02'
As you can see, there are missing parenthesis, should be
(title like '%toto%' or title like '%titi%') and lastmodified < '2013-02-02'
Do not work in 3.4.x
Query:
//element(*, ametys:content)[(( and (@ametys-internal:contentType ='com.anwrt.ub3.siteweb.plugins.ub3.Content.researchcenter' or @ametys-internal:contentType ='org.ametys.web.default.Content.article' or @ametys-internal:contentType ='org.ametys.plugins.multimedia.Content.multimediaGallery' or @ametys-internal:contentType ='org.ametys.plugins.multimedia.Content.audioGallery' or @ametys-internal:contentType ='com.anwrt.ub3.siteweb.plugins.ub3.Content.personne' or @ametys-internal:contentType ='org.ametys.plugins.faq.Content.faq' or @ametys-internal:contentType ='org.ametys.plugins.news.Content.news' or @ametys-internal:contentType ='org.ametys.plugins.myfavorites.Content.myfavorites' or @ametys-internal:contentType ='org.ametys.plugins.multimedia.Content.photosGallery' or @ametys-internal:contentType ='com.anwrt.ub3.siteweb.plugins.ub3.Content.service' or @ametys-internal:contentType ='com.anwrt.ub3.siteweb.plugins.ub3.Content.assoc' or @ametys-internal:contentType ='com.anwrt.ub3.siteweb.plugins.ub3.Content.biblio' or @ametys-internal:contentType ='com.anwrt.ub3.siteweb.plugins.ub3.Content.structure' or @ametys-internal:contentType ='org.ametys.plugins.blog.Content.post' or @ametys-internal:contentType ='org.ametys.plugins.blog.Content.profile') and (@ametys-internal:language ='fr')) and @ametys:site = 'default')] order by fn:lower-case(@ametys:title)
Error: