diff --git a/VERSION b/VERSION index 8fe00a57f..250414387 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.26.5 +1.26.5.1 diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index b629dce3b..2136bb119 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -110,7 +110,8 @@ class ReportsController < ApplicationController @project_contents = { experiments: @report.report_elements.order(:position).experiment.pluck(:experiment_id), my_modules: @report.report_elements.order(:position).my_module.pluck(:my_module_id), - repositories: @report.settings.dig(:task, :repositories) + repositories: @report.settings.dig(:task, :repositories) || + @report.report_elements.my_module_repository.distinct(:repository_id).pluck(:repository_id) } render :new end