CRM-17310 add reports to menu when rebuilding nav from civicrm/admin/menu?reset=1
authoreileen <emcnaughton@wikimedia.org>
Mon, 6 Jun 2016 19:48:42 +0000 (13:48 -0600)
committereileen <emcnaughton@wikimedia.org>
Tue, 7 Jun 2016 17:21:28 +0000 (11:21 -0600)
CRM-17310 add reports to menu when rebuilding nav from civicrm/admin/menu?reset=1

CRM/Core/BAO/Navigation.php

index 08c345ef2529f3a15c03e24923ce137a9c07b0f3..db0e837ae7b64b105139d1576884cc9390b28da0 100644 (file)
@@ -929,6 +929,9 @@ ORDER BY parent_id, weight";
 
     // Create or update the All Reports link.
     self::createOrUpdateReportNavItem('All Reports', 'civicrm/report/list', 'reset=1', $reports_nav->id, 'access CiviReport', $domain_id, TRUE);
+    // Create or update the My Reports link.
+    self::createOrUpdateReportNavItem('My Reports', 'civicrm/report/list', 'myreports=1&reset=1', $reports_nav->id, 'access CiviReport', $domain_id, TRUE);
+
   }
 
   /**