diff options
author | Kevin McCarthy <kmccarth@redhat.com> | 2007-09-06 11:09:12 -0700 |
---|---|---|
committer | Kevin McCarthy <kmccarth@redhat.com> | 2007-09-06 11:09:12 -0700 |
commit | 2adeed3029bb223ea32c77f31da28bfe3dadcd3e (patch) | |
tree | 813b4bab1b29046f24226d5a75ebd5d1b4eb294d /ipa-server/ipa-gui/ipagui/controllers.py | |
parent | 268dd829df41199c23b9b740bbc9bad2164b22d6 (diff) | |
download | freeipa-2adeed3029bb223ea32c77f31da28bfe3dadcd3e.tar.gz freeipa-2adeed3029bb223ea32c77f31da28bfe3dadcd3e.tar.xz freeipa-2adeed3029bb223ea32c77f31da28bfe3dadcd3e.zip |
Add search box in header.
Change account status to use select list and 'active'/'inactive' values.
Improve autosuggest to keep suggesting unless you overwrite a suggestion
(if you correct the name, it will re-suggest).
Diffstat (limited to 'ipa-server/ipa-gui/ipagui/controllers.py')
-rw-r--r-- | ipa-server/ipa-gui/ipagui/controllers.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ipa-server/ipa-gui/ipagui/controllers.py b/ipa-server/ipa-gui/ipagui/controllers.py index 73945fe4c..b984c2a05 100644 --- a/ipa-server/ipa-gui/ipagui/controllers.py +++ b/ipa-server/ipa-gui/ipagui/controllers.py @@ -48,6 +48,14 @@ class Root(controllers.RootController): def index(self): return dict() + @expose() + def topsearch(self, **kw): + if kw.get('searchtype') == "Users": + return self.userlist(uid=kw.get('searchvalue')) + else: + return self.index() + + ######## # User # |