MM-18357: Adds pagination to team search. (#12910)
* MM-18357: Adds pagination to team search. * MM-18357: Adds new client method for paginated requests. * MM-18357: Adds feedback about non-supported pagination-permissions combo. * MM-18357: Removes unnecessary conversion. * MM-18357: Removes paginate parameter and uses nil on page and perpage instead.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
955f8c4e8e
Коммит
14bcd1f0a1
@@ -310,7 +310,7 @@ func searchTeamCmdF(command *cobra.Command, args []string) error {
|
||||
var teams []*model.Team
|
||||
|
||||
for _, searchTerm := range args {
|
||||
foundTeams, err := a.SearchAllTeams(searchTerm)
|
||||
foundTeams, _, err := a.SearchAllTeams(&model.TeamSearch{Term: searchTerm})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user