This commit is contained in:
Jasder
2020-03-19 17:16:25 +08:00
parent fe9ac94222
commit 153b3b340c

View File

@@ -14,7 +14,7 @@ class Projects::ListQuery < ApplicationQuery
.with_project_type(params[:project_type])
.with_project_category(params[:category_id])
.with_project_language(params[:language_id])
.includes(:project_category, :project_language, :repository, :owner)
.includes(:project_category, :project_language, :owner)
custom_sort(scope, params[:sort_by], params[:sort_direction])
end