mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
添加user_projects_includes
This commit is contained in:
@@ -21,7 +21,7 @@ class Projects::ListMyQuery < ApplicationQuery
|
||||
projects = projects.where(is_public: (params[:is_public].to_s == "publicly"))
|
||||
end
|
||||
|
||||
scope = projects.includes(:members,:issues,:project_category, :project_language, owner: :user_extension)
|
||||
scope = projects.includes(:members,:issues,:project_category,:project_score, :project_language, owner: :user_extension)
|
||||
|
||||
sort = params[:sort_by] || "updated_on"
|
||||
sort_direction = params[:sort_direction] || "desc"
|
||||
|
||||
Reference in New Issue
Block a user