Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.0
-
Fix Version/s: Unscheduled
-
Component/s: None
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
Numerous instances of this
– CRM-10621 Add component report links to reports menu for upgrade
SELECT @reportlastID := MAX(id) FROM civicrm_navigation where name = 'Reports';
Which should be
– CRM-10621 Add component report links to reports menu for upgrade
SELECT @reportlastID := MAX(id) FROM civicrm_navigation where name = 'Reports' AND domain_id = @domainID;
This precedes
INSERT INTO civicrm_navigation
( domain_id, url, label, name, permission, permission_operator, parent_id, is_active, has_separator, weight )
VALUES
( {$domainID}, 'civicrm/report/list&compid=99&reset=1', '
Contact Reports
{/ts}', 'Contact Reports', 'administer CiviCRM', '', @reportlastID, '1', 0, (SELECT @max_weight := @max_weight+1) );
These new navigation entries don't get added to the menu as the parent domain differs from the child domain
(a separate related issue which has been previously been logged is that the new entries are only created for the primary domain)