Avoid unnecessary includes in StarredProjectsFinder
This commit is contained in:
parent
2ca4d58165
commit
b7b57b83cc
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
class StarredProjectsFinder < ProjectsFinder
|
||||
def initialize(user, params: {}, current_user: nil)
|
||||
project_ids = user.starred_projects.includes(:creator).select(:id)
|
||||
project_ids = user.starred_projects.select(:id)
|
||||
super(params: params, current_user: current_user, project_ids_relation: project_ids)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue