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

ConceptService.getDrugs(String phrase) does not include retired results, but it should

    Details

    • Complexity:
      Low

      Description

      Since this method uses HibernateConceptDAO.getDrugs(String), which filters only drugs with retired=false, it doesn't return retired drugs. It should be fixed by getting rid of search criteria for drugs drug.retired=false within HibernateConceptDAO.getDrugs(String) method. Also, write simple unit test to be sure that it works correctly.

        Attachments

          Activity

            People

            • Assignee:
              scottmuc Scott Muc
              Reporter:
              cta Taras Chorny
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: