Commit d5201f18 authored by Beat Seeliger's avatar Beat Seeliger
Browse files

Merge branch 'fixes/deleted_group_assignment_group_offer_appear_in_hours_form' into 'develop'

fix the relation volunteer group offer not excluding deleted group_assignment

See merge request !808
parents 5c5a4bfd c8eebe38
Pipeline #23888 passed with stage
in 36 minutes and 19 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