Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2081

Table sorting is preserved when switching to another visualization

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0, 2.5.0-alpha1
    • Component/s: frontend
    • Labels:
      None

      Description

      Reproduce:

      • Create a Process Report that counts flow nodes and visualizes as table
      • Sort the table by the value column
      • Switch the visualization to bar chart

      Expected:

      • The data is displayed without any specific sorting

      Observed:

      • The data is displayed in the order it was displayed in the table

      While this may not seem like to big of a problem initially, it has two side effects:

      • First, you cannot undo the sorting in the chart
      • Second, if you save the report you will see it sorted, but if you reload the page, it is unsorted again

      Hint:
      This is because we do not trigger evaluation requests when changing just the visualization, because we assume that the data does not change. However, since we are doing the sorting on the backend, we need to trigger an evaluation request in this case.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            sebastian.stamm Sebastian Stamm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: