Add filter to search users by active (#38637)

* Add filter to search users by active

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

No files matched your search

+5
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