From cd9bd3a2988569632f09c4dd0fad89aa30abbe20 Mon Sep 17 00:00:00 2001 From: Jeffrey Warren Date: Tue, 21 Jul 2020 17:44:07 -0400 Subject: [PATCH] Fixing gitpod db group calls (#8178) re #8177 --- app/controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 17bfa16799..5b5606de10 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -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