Skip to content

Commit

Permalink
get dacName from dac instead of deprecated top level prop and add upc…
Browse files Browse the repository at this point in the history
…oming email to filter
  • Loading branch information
rushtong committed Nov 9, 2023
1 parent 0028ce6 commit 51a3f61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,8 @@ export const getSearchFilterFunctions = () => {
const custodians = join(', ')(datasetTerm.study?.dataCustodianEmail);
return includes(loweredTerm, toLower(datasetTerm.datasetName)) ||
includes(loweredTerm, toLower(datasetTerm.datasetIdentifier)) ||
includes(loweredTerm, toLower(datasetTerm.dacName)) ||
includes(loweredTerm, toLower(datasetTerm.dac?.dacName)) ||
includes(loweredTerm, toLower(datasetTerm.dac?.dacEmail)) ||
includes(loweredTerm, toLower(datasetTerm.dataLocation)) ||
includes(loweredTerm, toLower(codes)) ||
includes(loweredTerm, toLower(datasetTerm.createUserDisplayName)) ||
Expand Down

0 comments on commit 51a3f61

Please sign in to comment.