Commit cea29b5b authored by Jiri Strojil's avatar Jiri Strojil

Fixed duplicites

parent be95958a
Pipeline #31596 passed with stage
in 45 minutes and 35 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