diff --git a/process/Organisation_lib/process.js b/process/Organisation_lib/process.js index a8e5c8facfc16d7c0b41a7600e4c3f049b878d6a..cc8c3aa44767af1f7a78f10c0c07ab61e8a752a7 100644 --- a/process/Organisation_lib/process.js +++ b/process/Organisation_lib/process.js @@ -149,20 +149,13 @@ OrgUtils.openOrgReport = function(pOrgId) .where("CONTACT.ORGANISATION_ID", pOrgId) //= all activities linked to the organization or an employee .orderBy("ENTRYDATE desc") .table(); - - var infoAsHtml = histData[0][4]; - var infoWithoutHtml = text.html2text(infoAsHtml); - histData[0][4] = infoWithoutHtml; var dateFormat = translate.text("dd.MM.yyyy"); histData.forEach(function (row) { row[0] = datetime.toDate(row[0], dateFormat); // convert html to text - if (row[1] == $KeywordRegistry.activityCategory$mail()) - { - row[4] = text.html2text(row[4]); - } + row[4] = text.html2text(row[4]); row[1] = KeywordUtils.getViewValue($KeywordRegistry.activityCategory(), row[1]); _joinArrayVals(row, 2, 2);