From 5507154992eedd323385c37e59b2008586b9aaa0 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Fri, 30 Jun 2017 12:07:23 -0400 Subject: Add some basic sorting support for GET /users endpoint (#6801) --- store/store.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'store/store.go') diff --git a/store/store.go b/store/store.go index 23c6acd37..9ae5f4b81 100644 --- a/store/store.go +++ b/store/store.go @@ -208,7 +208,8 @@ type UserStore interface { AnalyticsActiveCount(time int64) StoreChannel GetUnreadCount(userId string) StoreChannel GetUnreadCountForChannel(userId string, channelId string) StoreChannel - GetRecentlyActiveUsersForTeam(teamId string) StoreChannel + GetRecentlyActiveUsersForTeam(teamId string, offset, limit int) StoreChannel + GetNewUsersForTeam(teamId string, offset, limit int) StoreChannel Search(teamId string, term string, options map[string]bool) StoreChannel SearchNotInTeam(notInTeamId string, term string, options map[string]bool) StoreChannel SearchInChannel(channelId string, term string, options map[string]bool) StoreChannel -- cgit v1.2.3-1-g7c22