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

Search on select simple content widget does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M6
    • 4.0M5
    • None
    • None

      I have a simple content type with 2 entries.
      The search tool on this simple content type returns 2 results.
      The executed solr query is

      q=((allContentTypes:odf-enumeration.Degree OR allMixinTypes:odf-enumeration.Degree))&start=0&rows=50&fl=id&fq=_documentType:content&fq=(allowAnyConnectedUser:true OR allowedUsers:(admin#population\-1))&sort=title_s_sort asc
      

      On edition I have the select content widget on this content type.
      The search return nothing. The executed solr query is :

      q=((allContentTypes:odf-enumeration.Degree OR allMixinTypes:odf-enumeration.Degree) AND -(allContentTypes:odf-enumeration.RncpLevel OR allContentTypes:odf-enumeration.Degree OR allContentTypes:org.ametys.plugins.odf.Content.odfContent OR allContentTypes:odf-enumeration.CodeSise OR allContentTypes:odf-enumeration.TeachingTerm OR allContentTypes:org.ametys.plugins.odf.Content.courseListContainer OR allContentTypes:odf-enumeration.CodeCite97 OR allContentTypes:odf-enumeration.JoinOrgunit OR allContentTypes:odf-enumeration.CodeNsf OR allContentTypes:org.ametys.plugins.odf.Content.person OR allContentTypes:odf-enumeration.Level OR allContentTypes:odf-enumeration.Place OR allContentTypes:odf-enumeration.CodeRome OR allContentTypes:odf-enumeration.Internship OR allContentTypes:odf-enumeration.AbstractTableRef OR allContentTypes:odf-enumeration.Domain OR allContentTypes:odf-enumeration.TeachingActivity OR allContentTypes:org.ametys.plugins.odf.Content.courseList OR allContentTypes:odf-enumeration.FormofteachingMethod OR allContentTypes:odf-enumeration.CodeFap OR allContentTypes:odf-enumeration.Mention OR allContentTypes:org.ametys.plugins.odf.Content.orgunit OR allContentTypes:odf-enumeration.FormofteachingOrg OR allContentTypes:org.ametys.plugins.odf.Content.programPart OR allContentTypes:odf-enumeration.DistanceLearningModality OR allContentTypes:odf-enumeration.ProgramType OR allContentTypes:odf-enumeration.CodeErasmus OR allContentTypes:odf-enumeration.CodeDgesip OR allContentTypes:odf-enumeration.TimeSlot OR allContentTypes:org.ametys.plugins.odf.Content.course) AND contentLanguage:"fr")&start=0&rows=50&fl=id&fq=_documentType:content&fq=(allowAnyConnectedUser:true OR allowedUsers:(admin#population\-1))&sort=title_s_sort asc&facet.field={!ex=contributor key=contributor}contributor_dv&facet.field={!ex=workflowStep key=workflowStep}workflowStep_dv&facet.field={!ex=contentTypes key=contentTypes}contentTypes_dv&facet=true
      

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: