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

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  wyclif Wyclif Luyima
                  Reporter:
                  bwolfe Ben Wolfe
                  Watchers:
                  Ben Wolfe, Burke Mamlin, Daniel Kayiwa, Darius Jazayeri, Kari Schoonbee, Matthew Ssemakadde, Paul Biondich, Wyclif Luyima
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: