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

Ordering of encounters on formentry tab incorrect

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.8.1, OpenMRS 1.9.0
    • Fix Version/s: OpenMRS 1.8.2
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Medium

      Description

      When fixing these tickets: TRUNK-2103 and this one TRUNK-1375 the display order of encounters on the personFormEntry portlet changed from the default (desc encounterDatetime?) to ordering on patient name. The limiting of the encounters seems to be done before the sorting, so its getting the first encounters (asc encounterDatetime).

      The best fix for this would be to pass the sort order and number of results to the encounter service to get the desired number of results in the right order from the database instead of relying on the PatientEncountersPortletController and PortletController to provide the big long list of encounters

        Attachments

          Activity

            People

            • Assignee:
              wyclif Wyclif Luyima
              Reporter:
              bwolfe Ben Wolfe
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: