Skip to content

Commit

Permalink
Ticket #4938: Sort workspaces alphabetically (#1988)
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosba authored Aug 8, 2024
1 parent 749447b commit be71f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graph/types/me_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def team_users(status: nil)
return TeamUser.none unless object == User.current
team_users = object.team_users
team_users = team_users.where(status: status) if status
team_users
team_users.joins(:team).order('name ASC')
end

field :team_users_count, GraphQL::Types::Int, null: true do
Expand Down

0 comments on commit be71f00

Please sign in to comment.