Verified Commit c8eebe38 authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

fix the relation volunteer group offer not excluding deleted group_assignment

parent 5c5a4bfd
Pipeline #23882 passed with stage
in 41 minutes and 7 seconds
......@@ -375,7 +375,7 @@ class Volunteer < ApplicationRecord
end
def group_offers_form_collection
group_offers.map do |group_offer|
group_assignments.map(&:group_offer).map do |group_offer|
[group_offer.to_label, "#{group_offer.id},#{group_offer.class}"]
end
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment