Skip to content

Commit

Permalink
Merge pull request #275 from KPMP/KPMP-5571_CombineFilters
Browse files Browse the repository at this point in the history
KPMP-5571: reorder
  • Loading branch information
HaneenT authored Nov 4, 2024
2 parents a6551c8 + fd78f83 commit 42a51e8
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions src/components/SpatialViewer/Facets/AllFacets.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,63 +33,62 @@ class AllFacets extends Component {
</Row>
</AccordionBody>
</AccordionItem>
<AccordionItem>
<AccordionHeader targetId='2'>
Experimental Strategy
<AccordionItem>
<AccordionHeader targetId="2">
Sex
</AccordionHeader>
<AccordionBody accordionId="2">
<Row className="mb-2">
<Col>
<Facet field="datatype" label="" filterType="any" show="10" view={MultiCheckboxFacet}/>
<Facet field="sex" label="" filterType="any" show="10" view={MultiCheckboxFacet}/>
</Col>
</Row>
</AccordionBody>
</AccordionItem>
<AccordionItem>
<AccordionHeader targetId="3">
Image Type
Enrollment Category
</AccordionHeader>
<AccordionBody accordionId="3">
<Row className="mb-2">
<Col>
<Facet field="imagetype" label="" filterType="any" show="10" view={MultiCheckboxFacet}/>
<Facet field="enrollmentcategory" label="" filterType="any" show="10" view={MultiCheckboxFacet}/>
</Col>
</Row>
</AccordionBody>
</AccordionItem>

<AccordionItem>
<AccordionHeader targetId="4">
Sex
Age
</AccordionHeader>
<AccordionBody accordionId="4">
<Row className="mb-2">
<Col>
<Facet field="sex" label="" filterType="any" show="10" view={MultiCheckboxFacet}/>
<Facet field="age" label="" filterType="any" show="10" view={MultiCheckboxFacet}/>
</Col>
</Row>
</AccordionBody>
</AccordionItem>
<AccordionItem>
<AccordionHeader targetId="5">
Age
<AccordionHeader targetId='5'>
Experimental Strategy
</AccordionHeader>
<AccordionBody accordionId="5">
<Row className="mb-2">
<Col>
<Facet field="age" label="" filterType="any" show="10" view={MultiCheckboxFacet}/>
<Facet field="datatype" label="" filterType="any" show="10" view={MultiCheckboxFacet}/>
</Col>
</Row>
</AccordionBody>
</AccordionItem>
<AccordionItem>
<AccordionHeader targetId="6">
Enrollment Category
Image Type
</AccordionHeader>
<AccordionBody accordionId="6">
<Row className="mb-2">
<Col>
<Facet field="enrollmentcategory" label="" filterType="any" show="10" view={MultiCheckboxFacet}/>
<Facet field="imagetype" label="" filterType="any" show="10" view={MultiCheckboxFacet}/>
</Col>
</Row>
</AccordionBody>
Expand All @@ -102,4 +101,4 @@ class AllFacets extends Component {
}


export default AllFacets;
export default AllFacets;

0 comments on commit 42a51e8

Please sign in to comment.