Skip to content

Commit

Permalink
Organ Facet not selected in browser when coming from data portal orga…
Browse files Browse the repository at this point in the history
…nogram. #837.
  • Loading branch information
Fran McDade authored and MillenniumFalconMechanic committed Feb 22, 2021
1 parent 0d65f46 commit 8dc3cff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/explore/exploreControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class ExploreControls extends React.Component {

stringifyOrganFilter = (term) => {

return JSON.stringify([{"facetName": "organ", "terms": [term]}]);
return JSON.stringify([{"facetName": "specimenOrgan", "terms": [term]}]);
};

translateOrganNameToDisplayLabel = (organName) => {
Expand Down
2 changes: 2 additions & 0 deletions src/components/searchBrowser/searchBrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const FACET_BLACKLIST = [
"contactName",
"effectiveOrgan",
"laboratory",
"organ",
"organPart",
"organismAge",
"organismAgeUnit",
"project",
Expand Down

0 comments on commit 8dc3cff

Please sign in to comment.