Skip to content

Commit 156b1c5

Browse files
committed
Remove unrelated global search index changes from Jenkins.java
The ConfigureLink.getSearchKeywords() already handles the "Search Settings" box on the Manage Jenkins page. The code in Jenkins.java was adding items to the global Jenkins search (header search box), which is a different system and unrelated to the search settings fix.
1 parent 6979cfd commit 156b1c5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

core/src/main/java/jenkins/model/Jenkins.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2431,12 +2431,6 @@ protected Iterable<TopLevelItem> allAsIterable() {
24312431
@Override
24322432
protected Collection<View> all() { return getAllViews(); }
24332433
});
2434-
2435-
// Add GlobalConfiguration items to search index so users can find configuration sections
2436-
for (Descriptor<?> d : Functions.getSortedDescriptorsForGlobalConfigUnclassifiedReadable()) {
2437-
builder.add("/manage/configure", d.getDisplayName());
2438-
}
2439-
24402434
return builder;
24412435
}
24422436

0 commit comments

Comments
 (0)