Skip to content

Commit

Permalink
Merge pull request #15871 from ncounter/fix-diff-to-superseded-beta
Browse files Browse the repository at this point in the history
Fix bug: pass the bs_request superseded object, not the number
  • Loading branch information
danidoni committed Mar 25, 2024
2 parents 29fdc21 + 49027f3 commit 8ca6c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/controllers/webui/request_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def prepare_request_data
@staging_status = staging_status(@bs_request, target_project) if Staging::Workflow.find_by(project: target_project)

# Collecting all issues in a hash. Each key is the issue name and the value is a hash containing all the issue details.
@issues = @action.webui_sourcediff({ diff_to_superseded: @diff_to_superseded_id, cacheonly: 1 }).reduce({}) { |accumulator, sourcediff| accumulator.merge(sourcediff.fetch('issues', {})) }
@issues = @action.webui_sourcediff({ diff_to_superseded: @diff_to_superseded, cacheonly: 1 }).reduce({}) { |accumulator, sourcediff| accumulator.merge(sourcediff.fetch('issues', {})) }

# retrieve a list of all package maintainers that are assigned to at least one target package
@package_maintainers = target_package_maintainers
Expand Down

0 comments on commit 8ca6c23

Please sign in to comment.