Browse files

[FIXED JENKINS-38812] Commented on the implementation. Uses the same …

…setting as used globally
  • Loading branch information...
David Rutqvist
David Rutqvist committed Oct 11, 2016
1 parent 6b933bd commit 9fee6cc3f0d2240b8e23b447318fde36b5e0eb8e
Showing with 5 additions and 1 deletion.
  1. +5 −1 core/src/main/java/hudson/model/
@@ -119,7 +119,11 @@ public void generateResponse(StaplerRequest req, StaplerResponse rsp, Object o)
public void onItem(Item i) {
String n = contextualNameOf(i);
boolean caseInsensitive = UserSearchProperty.isCaseInsensitive();

//Check user's setting on whether to do case sensitive comparison, configured in user -> configure
//This is the same setting that is used by the global search field, should be consistent throughout
//the whole application.
boolean caseInsensitive = UserSearchProperty.isCaseInsensitive();

String hay = n;
String needle = value;

0 comments on commit 9fee6cc

Please sign in to comment.