mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-23 19:06:31 +00:00
testing fetching only site space results
This commit is contained in:
@@ -68,9 +68,9 @@ export const SearchResults = React.forwardRef(function SearchResults(
|
||||
// const fetchedResults = await (global
|
||||
// ? searchAllSiteContent(query, pointer)
|
||||
// : searchSiteSpaceContent(query, pointer, revisionId));
|
||||
const fetchedResults = await searchAllSiteContent(query, pointer);
|
||||
const fetchedResults = await searchSiteSpaceContent(query, pointer, revisionId);
|
||||
|
||||
console.log('Fetching global results...');
|
||||
console.log('Fetching site space results...');
|
||||
|
||||
// Track the event only when the query changes
|
||||
trackEvent({
|
||||
|
||||
Reference in New Issue
Block a user