Skip to content

Commit

Permalink
Fixing gitpod db group calls (publiclab#8178)
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren authored and wichanart committed Oct 26, 2021
1 parent 974cf16 commit 23506be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def list
User.select('*, rusers.status, MAX(node_revisions.timestamp) AS last_updated')
.joins(:revisions)
.where("node_revisions.status = 1")
.group('rusers.id, node.nid, node_revisions.vid')
.group('rusers.id')
.order(order_string)
.page(params[:page])
end
Expand Down

0 comments on commit 23506be

Please sign in to comment.