Skip to content

Commit 4bc7d86

Browse files
committed
Added Fix in openmrsSearch.js for EMPT64
1 parent 7dc3345 commit 4bc7d86

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

omod/src/main/webapp/resources/scripts/jquery-ui/js/openmrsSearch.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -851,14 +851,15 @@ function OpenmrsSearch(div, showIncludeVoided, searchHandler, selectionHandler,
851851
attributeValue = rowData.attributes[a.name];
852852
if(attributeValue == null)
853853
attributeValue = '';
854-
855854
rRowData.push(attributeValue);
856855
});
857856
}
858-
857+
for (k in rRowData)
858+
{
859+
rRowData[k] = $j("<div>").text(rRowData[k]).html();
860+
}
859861
return rRowData;
860862
},
861-
862863
_fireEvent: function(eventType, data) {
863864
//TODO also pass 'this'
864865
},

0 commit comments

Comments
 (0)