From 4bc7d86da30be638efe0cb4db1176fea0060b1b6 Mon Sep 17 00:00:00 2001 From: Parth59 Date: Fri, 12 Mar 2021 23:14:12 -0800 Subject: [PATCH] Added Fix in openmrsSearch.js for EMPT64 --- .../webapp/resources/scripts/jquery-ui/js/openmrsSearch.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/omod/src/main/webapp/resources/scripts/jquery-ui/js/openmrsSearch.js b/omod/src/main/webapp/resources/scripts/jquery-ui/js/openmrsSearch.js index 56fb3b74..baee712f 100644 --- a/omod/src/main/webapp/resources/scripts/jquery-ui/js/openmrsSearch.js +++ b/omod/src/main/webapp/resources/scripts/jquery-ui/js/openmrsSearch.js @@ -851,14 +851,15 @@ function OpenmrsSearch(div, showIncludeVoided, searchHandler, selectionHandler, attributeValue = rowData.attributes[a.name]; if(attributeValue == null) attributeValue = ''; - rRowData.push(attributeValue); }); } - + for (k in rRowData) + { + rRowData[k] = $j("
").text(rRowData[k]).html(); + } return rRowData; }, - _fireEvent: function(eventType, data) { //TODO also pass 'this' },