Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(search): all facets open by default
Browse files Browse the repository at this point in the history
Closes #2061
  • Loading branch information
Christine Yu committed Apr 18, 2016
1 parent 3afc193 commit d34f69f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/scripts/search/search.files.table.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ module ngApp.search.models {
{name: "data_type", title: "Data Type", collapsed: false, facetType: "terms", removable: false },
{name: "experimental_strategy", title: "Experimental Strategy", collapsed: false, facetType: "terms", removable: false },
{name: "data_format", title: "Data Format", collapsed: false, facetType: "terms", removable: false },
{name: "platform", title: "Platform", collapsed: true, facetType: "terms", removable: false },
{name: "access", title: "Access Level", collapsed: true, facetType: "terms", removable: false },
{name: "state", title: "File Status", collapsed: true, facetType: "terms", removable: false },
{name: "platform", title: "Platform", collapsed: false, facetType: "terms", removable: false },
{name: "access", title: "Access Level", collapsed: false, facetType: "terms", removable: false },
{name: "state", title: "File Status", collapsed: false, facetType: "terms", removable: false },
]
};
angular.module("search.table.files.model", [])
Expand Down
8 changes: 4 additions & 4 deletions app/scripts/search/search.participants.table.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ module ngApp.search.models {
{name: "project.program.name", title: "Cancer Program", collapsed: false, facetType: "terms"},
{name: "project.project_id", title: "Project", collapsed: false, facetType: "terms"},
{name: "project.disease_type", title: "Disease Type", collapsed: false, facetType: "terms"},
{name: "demographic.gender", title: "Gender", collapsed: true, facetType: "terms"},
{name: "demographic.gender", title: "Gender", collapsed: false, facetType: "terms"},
{name: "diagnoses.age_at_diagnosis", title: "Age at diagnosis", hasGraph: true, collapsed: false, facetType: "range", unitsMap: [
{
"label": "years",
Expand All @@ -274,9 +274,9 @@ module ngApp.search.models {
}
]},
{name: "diagnoses.vital_status", title: "Vital Status", collapsed: false, facetType: "terms"},
{name: "diagnoses.days_to_death", title: "Days to Death", collapsed: true, facetType: "range", hasGraph: true},
{name: "demographic.race", title: "Race", collapsed: true, facetType: "terms"},
{name: "demographic.ethnicity", title: "Ethnicity", collapsed: true, facetType: "terms"}
{name: "diagnoses.days_to_death", title: "Days to Death", collapsed: false, facetType: "range", hasGraph: true},
{name: "demographic.race", title: "Race", collapsed: false, facetType: "terms"},
{name: "demographic.ethnicity", title: "Ethnicity", collapsed: false, facetType: "terms"}
]
};
angular.module("search.table.participants.model", [])
Expand Down

0 comments on commit d34f69f

Please sign in to comment.