GroupByDateVariable reports do not respect sorting in reportConfig

XMLWordPrintable

    • 3
    • Not defined

      Given:
      A GroupByDateVariable report has

      When:
      custom sorting is applied by the user in the reportConfiguration (key, desc) and the report is evaluated

      Then:
      the report is sorted asc by the key

      Expected:
      the report should be sorted according to the sorting config

      Hint:
      This seems to be broken since this commit
      https://github.com/camunda/camunda-optimize/commit/82fa22d5a9108e3c77bd3a1de8e4646123b450cf#diff-cad745870a49879271dc88ec9c4555d5R186
      where the user config got overriden for this kind of reports

      AT:

      • behavior is adjusted to expected behavior
      • a test verifies custom sorting is working for groupByDateVariable reports (and if also missing also for other groupByVariable types)

            Assignee:
            Unassigned
            Reporter:
            Sebastian Bathke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: