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

Site criteria is not working for 'all' and 'empty'

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.9.0
    • 4.9.0
    • Plugin : Web
    • None
    • 4.9.0 M8
    • Oui

      No result with empty criteria or all criteria in site input

          [CMS-12381] Site criteria is not working for 'all' and 'empty'

          Olivier Gehin added a comment - - edited

          if i set a input value, we have got this solr request:
          "query":{"bool":{"should":[{"ametys":{
          "q":"site:moel",
          "join":"content-visibleAttachmentIds%resource-ancestorAndSelfIds"}},
          "site:moel"]}},

          this filter is working

          Olivier Gehin added a comment - - edited if i set a input value, we have got this solr request: "query":{"bool":{"should":[{"ametys":{ "q":"site:moel", "join":"content-visibleAttachmentIds%resource-ancestorAndSelfIds"}}, "site:moel"]}}, this filter is working

          Olivier Gehin added a comment -

          the query done is:
          "query":{"bool":{"should":[{"bool":

          { "must":"*:*", "must_not":"site:*"}

          }

          Olivier Gehin added a comment - the query done is: "query":{"bool":{"should":[{"bool": { "must":"*:*", "must_not":"site:*"} }

            cbayle Caroline Bayle
            ogehin Olivier Gehin
            Caroline Bayle Caroline Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: