修改bug
This commit is contained in:
parent
441f8eb877
commit
af73b11822
|
@ -32,7 +32,6 @@ class Projects::ListQuery < ApplicationQuery
|
||||||
sort_direction = params[:sort_direction] || "desc"
|
sort_direction = params[:sort_direction] || "desc"
|
||||||
scope = scope.order("projects.#{sort} #{sort_direction}")
|
scope = scope.order("projects.#{sort} #{sort_direction}")
|
||||||
scope
|
scope
|
||||||
Rails.logger.info("######__________scope.size______________##########{scope.size}")
|
|
||||||
# custom_sort(scope, params[:sort_by], params[:sort_direction])
|
# custom_sort(scope, params[:sort_by], params[:sort_direction])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue