Plan for OpenMRS Core 2.0.x
Build: #105 was successful Changes by Dominik Schwarz <dominik.schwarz1994@gmail.com>
Code commits
openmrs-core
-
Dominik Schwarz <dominik.schwarz1994@gmail.com> 32094bd88b8eccc4d21e7f9efc4105529f28a0ff
TRUNK-4922 ConceptDAO filters concept classes only if results were found
The skipSame-method in LuceneQuery generates a new instance of
fullTextQuery even if there are no search results. In this way all
concepts will be returned without filtering them.
* only call buildQuery() in skipSame when results were found
* add test to ConceptServiceTest
(cherry picked from commit 71503dbdf6e572d69efd2a0737e6075f0ea0063c)- api/src/main/java/org/openmrs/api/db/hibernate/search/LuceneQuery.java (version 32094bd88b8eccc4d21e7f9efc4105529f28a0ff)
- api/src/test/java/org/openmrs/api/ConceptServiceTest.java (version 32094bd88b8eccc4d21e7f9efc4105529f28a0ff)