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

Refactor common default location code

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • OpenMRS 1.4.0
    • None
    • None

    Description

      I noticed a few references to code that is used to find a "default" location given the location names "Unknown", "Unknown Location", as well as the location ID = 1. Instead of duplicating that code all over the place, I will add a new getDefaultLocation() method to the LocationService and replace all existing references to the duplicate code.

      Gliffy Diagrams

        Attachments

          Activity

            People

              jmiranda Justin Miranda [X] (Inactive)
              jmiranda Justin Miranda [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: