+INSERT INTO `civicrm_dashboard`
+ (`id`, `domain_id`, `name`, `label`, `url`, `permission`, `permission_operator`, `column_no`, `is_minimized`, `fullscreen_url`, `is_fullscreen`, `is_active`, `is_reserved`, `weight`)
+ VALUES
+ (6,1,'report/6','Donor Summary','civicrm/report/instance/6?reset=1§ion=1&snippet=5&charts=barChart','access CiviContribute','AND',0,0,'civicrm/report/instance/6?reset=1§ion=1&snippet=5&charts=barChart&context=dashletFullscreen',1,1,0,4),
+ (7,1,'report/13','Top Donors','civicrm/report/instance/13?reset=1§ion=2&snippet=5','access CiviContribute','AND',0,0,'civicrm/report/instance/13?reset=1§ion=2&snippet=5&context=dashletFullscreen',1,1,0,5),
+ (8,1,'report/25','Event Income Summary','civicrm/report/instance/25?reset=1§ion=1&snippet=5&charts=pieChart','access CiviEvent','AND',0,0,'civicrm/report/instance/25?reset=1§ion=1&snippet=5&charts=pieChart&context=dashletFullscreen',1,1,0,6),
+ (9,1,'report/20','Membership Summary','civicrm/report/instance/20?reset=1§ion=2&snippet=5','access CiviMember','AND',0,0,'civicrm/report/instance/20?reset=1§ion=2&snippet=5&context=dashletFullscreen',1,1,0,7);
+
+UPDATE civicrm_dashboard
+ SET civicrm_dashboard.url = CONCAT(SUBSTRING(url FROM 1 FOR LOCATE('&', url) - 1), '?', SUBSTRING(url FROM LOCATE('&', url) + 1))
+ WHERE civicrm_dashboard.url LIKE "%&%" AND civicrm_dashboard.url NOT LIKE "%?%";
+
+UPDATE civicrm_dashboard
+ SET civicrm_dashboard.fullscreen_url = CONCAT(SUBSTRING(fullscreen_url FROM 1 FOR LOCATE('&', fullscreen_url) - 1), '?', SUBSTRING(fullscreen_url FROM LOCATE('&', fullscreen_url) + 1))
+ WHERE civicrm_dashboard.fullscreen_url LIKE "%&%" AND civicrm_dashboard.fullscreen_url NOT LIKE "%?%";