mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
added views to the search index.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4148 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
965f31ed98
commit
e4c2bb30c9
1 file changed
+4
@@ -687,6 +687,10 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node
|
||||
.add(new CollectionSearchIndex() {// for computers
|
||||
protected Computer get(String key) { return getComputer(key); }
|
||||
protected Collection<Computer> all() { return computers.values(); }
|
||||
})
|
||||
.add(new CollectionSearchIndex() {// for views
|
||||
protected View get(String key) { return getView(key); }
|
||||
protected Collection<ListView> all() { return views; }
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user