Skip to content

Commit

Permalink
Fix search for human readable state on query details page
Browse files Browse the repository at this point in the history
  • Loading branch information
Raghav Sethi committed Oct 11, 2016
1 parent ede2194 commit 2ff687b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion presto-main/src/main/resources/webapp/assets/query-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ var QueryList = React.createClass({
return stateFilteredQueries.filter(function(query) {
var term = searchString.toLowerCase();
if (query.queryId.toLowerCase().indexOf(term) != -1 ||
query.humanReadableState.toLowerCase().indexOf(term) != -1 ||
getHumanReadableState(query).toLowerCase().indexOf(term) != -1 ||
query.query.toLowerCase().indexOf(term) != -1) {
return true;
}
Expand Down

0 comments on commit 2ff687b

Please sign in to comment.