Uploaded image for project: 'Reporting Module'
  1. Reporting Module
  2. REPORT-708

Dimension options (cohorts) are not sorted

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      Dimension options (cohorts) are not sorted when setting up a dimension. For example, an age dimension ends up sorted in this order...

      Age-01-04
      Age-15-24
      Age-25-49
      Age-10-14
      Age-50
      Age-0
      Age-05-09

      Ideally they would be sorted alphabetically, or saved in the order that they are entered.

      This happens in my implementation and on the demo server, both running Reporting 0.9.2.1.

      For example see... http://demo.openmrs.org/openmrs/module/reporting/indicators/editCohortDefinitionDimension.form?uuid=b9d3ab64-62f0-4bb9-a80a-c7336bbfc947

      When using the dimension in a cohort indicator report, the strange order is also presented there which makes it likely for items to be added out of order or missed.

        Attachments

          Activity

            People

            Assignee:
            mseaton Mike Seaton
            Reporter:
            arbaughj James Arbaugh [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: