Skip to content

Commit

Permalink
feat: support the Broad data library
Browse files Browse the repository at this point in the history
  • Loading branch information
fboulnois committed Sep 26, 2023
1 parent 8edb1d7 commit 8223b0c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"@emotion/styled": "11.11.0",
"@mui/icons-material": "5.14.8",
"@mui/material": "5.14.8",
"@mui/utils": "5.14.11",
"ajv": "8.12.0",
"ajv-formats": "2.1.1",
"axios": "^1.5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const Routes = (props) => (
<AuthenticatedRoute path="/admin_manage_dar_collections/" component={AdminManageDarCollections} props={props} rolesAllowed={[USER_ROLES.admin]} />
{checkEnv(envGroups.NON_STAGING) && <AuthenticatedRoute path="/dataset_catalog/:variant" component={CustomDatasetCatalog} props={props} rolesAllowed={[USER_ROLES.researcher]}/>}
<AuthenticatedRoute path="/dataset_catalog" component={DatasetCatalog} props={props} rolesAllowed={[USER_ROLES.admin, USER_ROLES.all]} />
<AuthenticatedRoute path="/dataset_search" component={DatasetSearch} props={props} rolesAllowed={[USER_ROLES.admin, USER_ROLES.all]} />
<AuthenticatedRoute path="/datalibrary_broad" component={DatasetSearch} props={props} rolesAllowed={[USER_ROLES.admin, USER_ROLES.all]} />
<AuthenticatedRoute path="/dataset_statistics/:datasetId" component={DatasetStatistics} props={props}
rolesAllowed={[USER_ROLES.all]} />
<AuthenticatedRoute path="/dac_datasets" component={DACDatasets} props={props} rolesAllowed={[USER_ROLES.chairperson]} />
Expand Down
5 changes: 5 additions & 0 deletions src/pages/DatasetSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ export const DatasetSearch = (props) => {
'_type': 'dataset'
}
},
{
'match': {
'submitter.institution.id': '150' // Broad Institute of MIT and Harvard
}
},
{
'exists': {
'field': 'study'
Expand Down

0 comments on commit 8223b0c

Please sign in to comment.