If anyone else want to fix it locally. here is the codes line to be fixed
- Step 1
- mekomsolutions/openmrs-module-orderentryui > drugOrders.gsp
- openmrs/openmrs-module-orderentryui > drugOrders.gsp
{{ setting | omrs.display }}
replace it with
{{ setting | omrsDisplay }}
$scope.search = function(term) { return DrugService.getDrugs({ q: term }); }
replace it with
$scope.search = function(term) { return DrugService.getDrugs({ q: term }).then(function(result){ return result; }); }
also
'typeahead="drug as drug.display for drug in search($viewValue) | filter:$viewValue" ' +
replace it with
'typeahead="drug as drug.display for drug in search($viewValue)" ' +