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

[AdvancedSearchTool] Restore criteria doesn't work

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.1, 4.3.0
    • 4.2.0
    • None
    • None
    • 4.2.1

      The restore criteria button doesn't work for an advanced search.

        1. AfterReinit.jpg
          AfterReinit.jpg
          12 kB
        2. BeforeReinit.jpg
          BeforeReinit.jpg
          23 kB
        3. Operators.jpg
          Operators.jpg
          7 kB

          [CMS-9659] [AdvancedSearchTool] Restore criteria doesn't work

          Bérénice Maurel added a comment - - edited

          I have a search model with language and one criteria with a default value (Like the general search in a web application).
          I reorder then change the operator then reinitialized.

          The operator haven't been reinitialized.

          Maybe the bug is that the operator shouldn't be static or the criteria shouldn't be reorderable.

          Fine for empty forms.
          Fine on search service.

          Bérénice Maurel added a comment - - edited I have a search model with language and one criteria with a default value (Like the general search in a web application). I reorder then change the operator then reinitialized. The operator haven't been reinitialized. Maybe the bug is that the operator shouldn't be static or the criteria shouldn't be reorderable. Fine for empty forms. Fine on search service.

          Simon Prieul (Inactive) added a comment - - edited

          You need to be very watchful with this kind of modification when doing functional review :

          1. advanced search when no language,
          2. advanced search when language is present,
          3. widget for criteria in search service (creation and modification)

          Simon Prieul (Inactive) added a comment - - edited You need to be very watchful with this kind of modification when doing functional review : advanced search when no language, advanced search when language is present, widget for criteria in search service (creation and modification)

          It keeps the first criteria with its value.

          Bérénice Maurel added a comment - It keeps the first criteria with its value.

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: