mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
修改bug
This commit is contained in:
@@ -32,7 +32,6 @@ class Projects::ListQuery < ApplicationQuery
|
||||
sort_direction = params[:sort_direction] || "desc"
|
||||
scope = scope.order("projects.#{sort} #{sort_direction}")
|
||||
scope
|
||||
Rails.logger.info("######__________scope.size______________##########{scope.size}")
|
||||
# custom_sort(scope, params[:sort_by], params[:sort_direction])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user