Add client-side search limit parameter for user search.

Limit editgroup user ajax search.
Minor UI cleanup for editgroup.
This commit is contained in:
Kevin McCarthy committed 2007-09-18 14:58:30 -07:00
1 parent c4998d3902
commit 6b3d1e85da
7 files changed
+32 -17

No files matched your search

+2 -2
View File
@@ -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]