Skip to content

Commit 8383a85

Browse files
authored
set info to false when searching for base studies (#686)
1 parent bad7a3d commit 8383a85

File tree

1 file changed

+2
-1
lines changed
  • compose/neurosynth-frontend/src/components/CurationComponents/CurationImport/CurationDoImport/ImportFromNeurostore

1 file changed

+2
-1
lines changed

compose/neurosynth-frontend/src/components/CurationComponents/CurationImport/CurationDoImport/ImportFromNeurostore/NeurostoreSearch.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const NeurostoreSearch: React.FC<IImportArgs> = (props) => {
4242
});
4343

4444
const { data, isLoading, isError, isFetching } = useGetDebouncedBaseStudies(
45-
{ ...searchCriteria, flat: true },
45+
{ ...searchCriteria, flat: true, info: false },
4646
!authenticationIsLoading
4747
);
4848

@@ -97,6 +97,7 @@ const NeurostoreSearch: React.FC<IImportArgs> = (props) => {
9797
...searchCriteria,
9898
pageOfResults: 1,
9999
pageSize: 29999,
100+
info: false,
100101
});
101102
const dataResults = allDataForSearch?.data?.results || [];
102103
if (dataResults.length !== studyData?.metadata?.total_count)

0 commit comments

Comments
 (0)