fix view all users
This commit is contained in:
parent
60a564dcfd
commit
ae66b1b88e
2 changed files with 2 additions and 2 deletions
|
@ -164,8 +164,8 @@ module.controller('UserListCtrl', function($scope, realm, User) {
|
|||
}
|
||||
|
||||
$scope.searchQuery = function() {
|
||||
console.log("query.search: " + $scope.query.search);
|
||||
$scope.searchLoaded = false;
|
||||
$scope.currentSearch = $scope.search;
|
||||
|
||||
$scope.users = User.query($scope.query, function() {
|
||||
$scope.searchLoaded = true;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
Icon: search
|
||||
</button>
|
||||
</div>
|
||||
<span><span>or</span><button class="kc-link" ng-click="search = null; searchQuery()">View all users</button></span>
|
||||
<span><span>or</span><button class="kc-link" ng-click="query.search = null; searchQuery()">View all users</button></span>
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-primary" href="#/create/user/{{realm.realm}}">Add User</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue