Skip to content

Commit

Permalink
Merge pull request #279 from KPMP/KPMP-5678_collapsible_filter_groups
Browse files Browse the repository at this point in the history
Kpmp 5678 collapsible filter groups
  • Loading branch information
zwright authored Nov 20, 2024
2 parents aeeae56 + 3ea74b6 commit c7ca68d
Show file tree
Hide file tree
Showing 5 changed files with 292 additions and 227 deletions.
42 changes: 21 additions & 21 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,27 +84,27 @@ const searchConfig = {
"primaryadjudicatedcategory",
],
facets: {
sex: { type: "value", size: 100},
age: { type: "value", size: 100},
redcapid: { type: "value", size: 500 },
enrollmentcategory: { type: "value", size: 100},
imagetype: { type: "value", size: 100},
datatype: { type: "value", size: 100 },
configtype: { type: "value", size: 100},
level: { type: "value", size: 100},
releaseversion: {type: "value", size: 250},
race: {type: "value", size: 250},
proteinuria: {type: "value", size: 250},
hypertensionhistory: {type: "value", size: 250},
hypertensionduration: {type: "value", size: 250},
onraasblockade:{type: "value", size: 250},
diabetesduration: {type: "value", size: 250},
diabeteshistory: {type: "value", size: 250},
kdigostage: {type: "value", size: 250},
a1c: {type: "value", size: 250},
albuminuria: {type: "value", size: 250},
baselineegfr: {type: "value", size: 250},
primaryadjudicatedcategory: {type: "value", size: 250},
sex: { type: "value", sort: {"value": "asc"}, size: 100},
age: { type: "value", sort: {"value": "asc"}, size: 100},
redcapid: { type: "value", sort: {"value": "asc"}, size: 500 },
enrollmentcategory: { type: "value", sort: {"value": "asc"}, size: 100},
imagetype: { type: "value", sort: {"value": "asc"}, size: 100},
datatype: { type: "value", sort: {"value": "asc"}, size: 100 },
configtype: { type: "value", sort: {"value": "asc"}, size: 100},
level: { type: "value", sort: {"value": "asc"}, size: 100},
releaseversion: {type: "value", sort: {"value": "asc"}, size: 250},
race: {type: "value", sort: {"value": "asc"}, size: 250},
proteinuria: {type: "value", sort: {"value": "asc"}, size: 250},
hypertensionhistory: {type: "value", sort: {"value": "asc"}, size: 250},
hypertensionduration: {type: "value", sort: {"value": "asc"}, size: 250},
onraasblockade:{type: "value", sort: {"value": "asc"}, size: 250},
diabetesduration: {type: "value", sort: {"value": "asc"}, size: 250},
diabeteshistory: {type: "value", sort: {"value": "asc"}, size: 250},
kdigostage: {type: "value", sort: {"value": "asc"}, size: 250},
a1c: {type: "value", sort: {"value": "asc"}, size: 250},
albuminuria: {type: "value", sort: {"value": "asc"}, size: 250},
baselineegfr: {type: "value", sort: {"value": "asc"}, size: 250},
primaryadjudicatedcategory: {type: "value", sort: {"value": "asc"}, size: 250},
}
},
initialState: {
Expand Down
Loading

0 comments on commit c7ca68d

Please sign in to comment.