diff --git a/presto-main/src/main/resources/webapp/assets/query-list.js b/presto-main/src/main/resources/webapp/assets/query-list.js index 7eb8f82e70d0..ed458496ddf0 100644 --- a/presto-main/src/main/resources/webapp/assets/query-list.js +++ b/presto-main/src/main/resources/webapp/assets/query-list.js @@ -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; }