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

[Search] Empty enumerated criteria when no result

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.10.2, 4.9.15, 4.11.0
    • None
    • None
    • None
    • 4.11M1
    • Oui

      SaxEnumeratedCriteriaComponent take into account the current search form criteria to compute the counter of each enumerated values.

      As consequence, when opening a search form with pre-defined criteria, the enumerated values are not the all enumerated values but only those match pre-defined criteria.

      From example, from ODF home page, search programs with title "dfgsgfgfdsgd" and submit form.
      As there is no result, the enumerated criteria are all empty.
      A criteria is not a facet, the counter of enumerated criteria should be always the same, whatever the other search criteria.

        1. image-2026-09-25-14-50-02-265.png
          16 kB
          Laurence Aumeunier
        2. image-2026-09-25-14-50-22-984.png
          70 kB
          Laurence Aumeunier
        3. image-2026-09-28-11-29-53-814.png
          6 kB
          Magali Franchet
        4. image-2026-09-28-11-32-11-079.png
          296 kB
          Magali Franchet
        5. screenshot-1.png
          106 kB
          Laurence Aumeunier
        6. screenshot-2.png
          121 kB
          Magali Franchet

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

              Created:
              Updated:
              Resolved: