Skip to content

Commit

Permalink
Corrected the mistake (publiclab#2409)
Browse files Browse the repository at this point in the history
  • Loading branch information
gayathriravipati authored and Souravirus committed Mar 12, 2018
1 parent 0ec6cff commit 1107df4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def list
@users = DrupalUser.joins('INNER JOIN rusers ON rusers.username = users.name')
.order("updated_at DESC")
.where('rusers.role = ?', params[:id])
.where('rusers.status = 1')
.page(params[:page])
else
# recently active
Expand Down

0 comments on commit 1107df4

Please sign in to comment.