diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 2ec39c471..264379f8f 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.7.17 + - fixed #10752: Missing SQL Report download group default - fixed: #9595: Gallery layout corruption with old browsers - fixed: Admin bar won't show multiple packages or prototypes with the duplicate titles - fixed #10751: Only users in Content Managers group can make Shortcuts diff --git a/docs/upgrades/upgrade_7.7.16-7.7.17.pl b/docs/upgrades/upgrade_7.7.16-7.7.17.pl index a362220b4..6f4892609 100644 --- a/docs/upgrades/upgrade_7.7.16-7.7.17.pl +++ b/docs/upgrades/upgrade_7.7.16-7.7.17.pl @@ -34,6 +34,7 @@ my $session = start(); # this line required addFriendManagerSettings($session); fixGalleyImageFolderStyle($session); fixMapTemplateFolderStyle($session); +fixDefaultSQLReportDownloadGroup($session); addExpireIncompleteSurveyResponsesWorkflow($session); finish($session); # this line required @@ -72,6 +73,18 @@ sub fixMapTemplateFolderStyle { print "DONE!\n" unless $quiet; } +#---------------------------------------------------------------------------- +# Describe what our function does +sub fixDefaultSQLReportDownloadGroup { + my $session = shift; + print "\tFix bad default SQL Report Download groups... " unless $quiet; + $session->db->write(<$i18n->get("download mimetype"), }, downloadUserGroup=>{ - fieldType=>"group", - defaultValue=>"text/html", - label=>$i18n->get("download usergroup"), + fieldType => "group", + defaultValue => "7", + label => $i18n->get("download usergroup"), }, ); push(@{$definition}, {