Add filter to search users by active (#38637)

* Add filter to search users by active

* Fix query
This commit is contained in:
Selene
2021-08-31 11:35:16 +02:00
committed by GitHub
parent f1529b83a2
commit e47a60f511
3 changed files with 13 additions and 2 deletions

View File

@ -138,12 +138,17 @@ type GetUserProfileQuery struct {
Result UserProfileDTO
}
type SearchUsersFilter string
const ActiveLast30Days SearchUsersFilter = "activeLast30Days"
type SearchUsersQuery struct {
OrgId int64
Query string
Page int
Limit int
AuthModule string
Filter SearchUsersFilter
IsDisabled *bool