Skip to content

Commit

Permalink
Merge pull request #1046 from compucorp/comcl-835-fix-report
Browse files Browse the repository at this point in the history
COMCL-835: Fix Pivot Report Generation
  • Loading branch information
shahrukh-compuco authored Sep 16, 2024
2 parents 1902d66 + ef4d35f commit 9b6e569
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CRM/Civicase/Form/Report/ExtendedReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -2827,7 +2827,14 @@ protected function formatCustomValues($value, $customField, $fieldValueMap, arra
break;

case 'Link':
$retValue = CRM_Utils_System::formatWikiURL($value);
$items = explode(' ', trim($value), 2);
if (count($items) == 2) {
$title = $items[1];
}
else {
$title = $items[0];
}
$retValue = CRM_Utils_System::href($title, $items[0], NULL, FALSE);
break;

case 'File':
Expand Down

0 comments on commit 9b6e569

Please sign in to comment.