Add client-side search limit parameter for user search.
Limit editgroup user ajax search. Minor UI cleanup for editgroup.
This commit is contained in:
1 parent
c4998d3902
commit
6b3d1e85da
7 files changed
+32
-17
No files matched your search
@@ -93,11 +93,11 @@ class IPAClient:
|
||||
result = self.transport.get_add_schema()
|
||||
return result
|
||||
|
||||
def find_users(self, criteria, sattrs=None):
|
||||
def find_users(self, criteria, sattrs=None, searchlimit=0):
|
||||
"""Return a list: counter followed by a User object for each user that
|
||||
matches the criteria. If the results are truncated, counter will
|
||||
be set to -1"""
|
||||
result = self.transport.find_users(criteria, sattrs)
|
||||
result = self.transport.find_users(criteria, sattrs, searchlimit)
|
||||
counter = result[0]
|
||||
|
||||
users = [counter]
|
||||
|
||||
Reference in new issue
Block a user