mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 01:11:23 +00:00
Also return users without a team on UserCollection service
This commit is contained in:
parent
04b2638ebd
commit
f89771ffaf
1 changed files with 0 additions and 1 deletions
|
@ -39,7 +39,6 @@ class Api::V1::UsersCollection < Api::V1::Collection
|
||||||
.project(columns)
|
.project(columns)
|
||||||
.join(teams_table, Arel::Nodes::OuterJoin)
|
.join(teams_table, Arel::Nodes::OuterJoin)
|
||||||
.on(joins)
|
.on(joins)
|
||||||
.where(users_table[:team_id].not_eq(nil))
|
|
||||||
.order(users_table[:id])
|
.order(users_table[:id])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue