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 dms-yondy committed Aug 7, 2020
1 parent 91a233a commit 8bb165c
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 8bb165c

Please sign in to comment.