diff options
| author | Sam Wilkins <abdullah_ahmed@brown.edu> | 2019-07-23 19:12:15 -0400 |
|---|---|---|
| committer | Sam Wilkins <abdullah_ahmed@brown.edu> | 2019-07-23 19:12:15 -0400 |
| commit | 0ef6d9b5a3f90552562f4a6392967887d8805cc3 (patch) | |
| tree | a40f95ecf9ae19d836a7bd324ed650d78fc7c3c0 /src/client/views/SearchBox.tsx | |
| parent | 7d9958f23b2b69f59bb108b33ec014b52ad41c99 (diff) | |
| parent | 86971952237b8bd01a23b52db662740126bd8477 (diff) | |
merge
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 } |
