From f687ec36f8f0366ffed189123d3c7ca4778f93d1 Mon Sep 17 00:00:00 2001 From: Divya Jose Date: Tue, 24 Jun 2014 15:45:00 +0530 Subject: [PATCH] HR-363 url modification to show report instance on dashboard --- CRM/Report/BAO/ReportInstance.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Report/BAO/ReportInstance.php b/CRM/Report/BAO/ReportInstance.php index 02d2da192f..55b36f3a4b 100644 --- a/CRM/Report/BAO/ReportInstance.php +++ b/CRM/Report/BAO/ReportInstance.php @@ -218,8 +218,8 @@ class CRM_Report_BAO_ReportInstance extends CRM_Report_DAO_ReportInstance { if (CRM_Utils_Array::value('row_count', $params)) { $limitResult = '&rowCount=' . $params['row_count']; } - $dashletParams['url'] = "civicrm/report/instance/{$instance->id}&reset=1§ion={$section}&snippet=5{$chart}&context=dashlet" . $limitResult; - $dashletParams['fullscreen_url'] = "civicrm/report/instance/{$instance->id}&reset=1§ion={$section}&snippet=5{$chart}&context=dashletFullscreen" . $limitResult; + $dashletParams['url'] = "civicrm/report/instance/{$instance->id}?reset=1§ion={$section}&snippet=5{$chart}&context=dashlet" . $limitResult; + $dashletParams['fullscreen_url'] = "civicrm/report/instance/{$instance->id}?reset=1§ion={$section}&snippet=5{$chart}&context=dashletFullscreen" . $limitResult; $dashletParams['instanceURL'] = "civicrm/report/instance/{$instance->id}"; CRM_Core_BAO_Dashboard::addDashlet($dashletParams); } -- 2.25.1