Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7472

An article validated appears in search results with the criteria "all type of content" but not with the criteria "type of content : article" only

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0RC2
    • 4.0M7
    • None
    • None
    • FF

      How to reproduce :

      • insert search service in a page with the "Search by content type" parameter : All
      • in preview launch a research with all contents
        > there is no result
        params={q=*:*&fl=*,score&start=0&fq=_documentType:"page"&fq=site:carca&fq=sitemap:fr&fq={!join+from%3Did+to%3DcontentIds+v%3D"allContentTypes:org.ametys.plugins.multimedia.Content.audioGallery,resource,org.ametys.plugins.news.Content.news,org.ametys.plugins.multimedia.Content.multimediaGallery,org.ametys.plugins.myfavorites.Content.myfavorites,org.ametys.plugins.multimedia.Content.photosGallery,org.ametys.plugins.newsletter.Content.newsletter,org.ametys.web.default.Content.article,content-type.kiosque,content-type.header,org.ametys.plugins.faq.Content.faq"}&sort=score+desc&rows=2147483647&wt=javabin&version=2}
      • launch a research selecting only articles
        > there is a result.
        params={q=*:*&fl=*,score&start=0&fq=_documentType:"page"&fq=site:carca&fq=sitemap:fr&fq={!join+from%3Did+to%3DcontentIds+v%3D"allContentTypes:org.ametys.web.default.Content.article"}&sort=score+desc&rows=2147483647&wt=javabin&version=2}

            sprieul Simon Prieul (Inactive)
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: