Commit 66c8e216 authored by Beat Seeliger's avatar Beat Seeliger

Merge branch 'fixes/duplicities-new-page' into 'develop'

Fixed duplicites on semester_process#new

See merge request !858
parents dd5ae078 cea29b5b
Pipeline #31697 passed with stage
in 37 minutes and 31 seconds
......@@ -170,6 +170,7 @@ class Volunteer < ApplicationRecord
scope :have_mission, lambda {
left_joins(:assignments).left_joins(:group_assignments)
.where('assignments.period_start IS NOT NULL OR group_assignments.period_start IS NOT NULL')
.group('volunteers.id')
}
def self.semester_process_eligible(semester)
......
Markdown is supported
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