diff options
| author | bob <bcz@cs.brown.edu> | 2019-07-19 14:43:26 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-07-19 14:43:26 -0400 |
| commit | 89b2500e71e4d167c7ae179c3eb2b5052b128ad0 (patch) | |
| tree | 8b243d52a47024b06d9941134d56c4e25f80d930 /src/client/views/SearchBox.tsx | |
| parent | ae07ba8fb410752ea98702219247ce5f89d1758b (diff) | |
| parent | 8854d3277541a67aef4187b5d3592bea5a7fcfa2 (diff) | |
Merge branch 'master' into stackingSections
Diffstat (limited to 'src/client/views/SearchBox.tsx')
| -rw-r--r-- | src/client/views/SearchBox.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/SearchBox.tsx b/src/client/views/SearchBox.tsx index 1b9be841f..33cb63df5 100644 --- a/src/client/views/SearchBox.tsx +++ b/src/client/views/SearchBox.tsx @@ -13,6 +13,7 @@ import { Docs } from '../documents/Documents'; import { SetupDrag } from '../util/DragManager'; import { SearchItem } from './search/SearchItem'; import "./SearchBox.scss"; +import { Utils } from '../../Utils'; library.add(faSearch); library.add(faObjectGroup); @@ -47,7 +48,7 @@ export class SearchBox extends React.Component { @action getResults = async (query: string) => { - let response = await rp.get(DocServer.prepend('/search'), { + let response = await rp.get(Utils.prepend('/search'), { qs: { query } |
