added users to the search index.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4931 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-09-26 16:26:15 +00:00
1 parent 52f84bc88b
commit fe1cbbdd85
1 file changed
+1 -1
+1 -1
View File
@@ -702,7 +702,7 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node
})
.add(new CollectionSearchIndex() {// for users
protected User get(String key) { return getUser(key); }
protected Collection<User> all() { return Collections.emptySet(); } // TODO
protected Collection<User> all() { return User.getAll(); }
})
.add(new CollectionSearchIndex() {// for views
protected View get(String key) { return getView(key); }