1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 00:52:49 -05:00

organization search page

This commit is contained in:
Kyle Spearrin
2018-03-21 17:41:14 -04:00
parent cd262e81c8
commit 7475ed7318
16 changed files with 321 additions and 30 deletions

View File

@ -32,10 +32,10 @@ namespace Bit.Admin.Controllers
}
var skip = (page - 1) * count;
var users = await _userRepository.SearchByEmailAsync(email, skip, count);
var users = await _userRepository.SearchAsync(email, skip, count);
return View(new UsersModel
{
Users = users as List<User>,
Items = users as List<User>,
Email = string.IsNullOrWhiteSpace(email) ? null : email,
Page = page,
Count = count