Skip to content

Commit 6fc2b21

Browse files
authored
Show all active orgs on workshop logs dropdown (#461)
1 parent 3f9fb98 commit 6fc2b21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/controllers/workshop_logs_controller.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ def set_index_variables # needs to not be private
117117
.distinct
118118
.order(:last_name, :first_name)
119119
@projects = if current_user.super_user?
120-
Project.where(id: @workshop_logs_unpaginated.pluck(:project_id)).order(:name)
120+
# Project.where(id: @workshop_logs_unpaginated.pluck(:project_id)).order(:name)
121+
Project.active.order(:name)
121122
else
122123
current_user.projects.order(:name)
123124
end

0 commit comments

Comments
 (0)