Skip to content

Commit 8e6cbd4

Browse files
Kavitha|add FSN check for observations (#1011)
1 parent 8bad6cb commit 8e6cbd4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/app/common/displaycontrols/observation/directives/bahmniObservation.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ angular.module('bahmni.common.displaycontrol.observation')
1919
if ($scope.config.conceptNames) {
2020
observations = _.filter(observations, function (observation) {
2121
return _.some($scope.config.conceptNames, function (conceptName) {
22-
return _.toLower(conceptName) === _.toLower(_.get(observation, 'concept.name'));
22+
return (_.toLower(conceptName) === _.toLower(_.get(observation, 'concept.name'))
23+
|| _.toLower(conceptName) === _.toLower(_.get(observation, 'conceptFSN')));
2324
});
2425
});
2526
if ($scope.config.customSortNeeded && $scope.config.conceptNames) {

0 commit comments

Comments
 (0)