Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5702

Order Patient Programs By Enrollment Date

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 1.9.x
    • None
    • Low

    Description

      There currently appears to be no ordering in the HQL query for Program Workflow states in getPatientPrograms().

      https://github.com/openmrs/openmrs-core/blob/8fb28cc11c31b963b71bec5c3a602c6c548b171b/api/src/main/java/org/openmrs/api/db/hibernate/HibernateProgramWorkflowDAO.java#L170-L199

       

      This ticket is to provide an enhancement where the hql criteria includes an order by start_date chronologically. 

      Gliffy Diagrams

        Attachments

          Activity

            People

              tbirungi Trust Birungi
              long27km Ken Long
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Time Spent - 2 hours Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 2 hours Remaining Estimate - 1 hour
                  2h