Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
aoz-003
Commits
cea29b5b
Commit
cea29b5b
authored
Nov 22, 2018
by
Jiri Strojil
Browse files
Fixed duplicites
parent
be95958a
Pipeline
#31596
passed with stage
in 45 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/models/volunteer.rb
View file @
cea29b5b
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment