UsersTable: Display Disabled flag in Organizations' Users table (#53656)

* Add disabled column to Org's Users table

* fix typo

* Change column order

* Add test for testing whether GetOrgUsers populates the DTO correctly
* Remove type assertion
This commit is contained in:
Mihály Gyöngyösi
2022-08-15 10:58:58 +02:00
committed by GitHub
parent 4069fe1c39
commit 1c0ab501aa
7 changed files with 84 additions and 1 deletions
+1
View File
@@ -152,6 +152,7 @@ func (ss *SQLStore) GetOrgUsers(ctx context.Context, query *models.GetOrgUsersQu
"user.last_seen_at",
"user.created",
"user.updated",
"user.is_disabled",
)
sess.Asc("user.email", "user.login")