-
Bug
-
Resolution: Invalid
-
Critical
-
4.2.4
-
None
How to reproduce
- insert the page search service into a page
- set the following parameters (see screenshot)
- do a preview search
The service does not return any results.
However, if you change the service and remove the pages in the "search by topic" context, the service goes up the results.
// Niveau : INFO Catégorie : org.ametys.web.frontoffice.FrontOfficeSearcherFactory URI de la requête : /preview/www/fr/actualites.html Message : Solr query: q=({!ametys join="contentIds_s_dv" q="\(\(_documentType\:content\)\)"})&start=0&rows=2147483647&fl=id,score&fq=site:www&fq=sitemap:fr&fq=((*:* -_documentType:page)) OR ({!ametys join="contentIds_s_dv" q="allContentTypes\:org.ametys.plugins.news.Content.news"})&fq=((id:"fr/vous-etes/lyceen" OR page-ancestorIds:"fr/vous-etes/lyceen"))&fq=(_documentType:"page")&fq={!acl populationId=utilisateurs login=aservices groups="79#groupes-sql,entp#groupes-ldap,55#groupes-sql,testAnyware#groupes-ldap"}&sort=score desc Emplacement : org.ametys.cms.search.solr.SearcherFactory$Searcher._querySolrServer(SearcherFactory.java:460)
Not due to the kernel but to the skin which overrides a template of search-criteria-3.3.xsl using @path instead of @id