Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests sorting #525

Merged
merged 18 commits into from
Aug 6, 2020
Prev Previous commit
Next Next commit
Revert changes
  • Loading branch information
wojciech.blachowski committed Sep 24, 2019
commit b96df1420bd0beed5ecd58f4b8a21a4eb3530cf7
2 changes: 1 addition & 1 deletion report/src/main/webapp/app/components/testSearch.filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ define(['angularAMD'], function (angularAMD) {
}

function matches(searchPhrase, name) {
return name && name.indexOf(searchPhrase) > 0;
return name && name.includes(searchPhrase);
}
}
});