From 3328505fb180e53f5d3b9454146a2050a722f37d Mon Sep 17 00:00:00 2001 From: hmhealey Date: Mon, 2 Nov 2015 14:05:13 -0500 Subject: Stopped automatically appending * to single word search queries --- web/react/components/search_bar.jsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'web') diff --git a/web/react/components/search_bar.jsx b/web/react/components/search_bar.jsx index 1b81a5ee0..818650769 100644 --- a/web/react/components/search_bar.jsx +++ b/web/react/components/search_bar.jsx @@ -106,14 +106,8 @@ export default class SearchBar extends React.Component { if (terms.length) { this.setState({isSearching: true}); - // append * if not present - let searchTerms = terms; - if (searchTerms.search(/\*\s*$/) === -1) { - searchTerms = searchTerms + '*'; - } - client.search( - searchTerms, + terms, (data) => { this.setState({isSearching: false}); if (utils.isMobile()) { -- cgit v1.2.3-1-g7c22