• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M7
    • 4.0 alpha
    • Plugin : Search
    • None

      I did a simple search with only language and current site.

      No results are found

      In log the Solr query is :

      Solr query: q=(site:www AND contentLanguage:"CURRENT")&start=0&rows=50&fl=id&fq=_documentType:content&fq=((allowedUsers:(admin#ametys_demo_users)) OR {!join from=uri to=pages v="(allowedUsers:(admin#ametys_demo_users))"})&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
      

      currentLanguage="CURRENT" seems really strange ...

          [CMS-7294] Advanced search does not work

          Raphaël Franchet added a comment - - edited

          CURRENT is the value to set the default value to the LanguageDAO current value.
          The widget is interpretting this to set the combobox to the correct value.
          The issue is deeper : whatever I select in the combobox, the CURRENT value stays.

          Analysing request show "fr" to be correctly sent. The server side seems to ignore it.

          Raphaël Franchet added a comment - - edited CURRENT is the value to set the default value to the LanguageDAO current value. The widget is interpretting this to set the combobox to the correct value. The issue is deeper : whatever I select in the combobox, the CURRENT value stays. Analysing request show "fr" to be correctly sent. The server side seems to ignore it.

            raphael Raphaël Franchet
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: