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

[Feature] Expand advanced search panel when filters are applied #875

Merged
merged 1 commit into from
Feb 28, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion app/pages/search/controls/SearchControlsContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,11 @@ class UnconnectedSearchControlsContainer extends Component {
/>
</Col>
</Row>
<Panel collapsible header={t('SearchControlsContainer.advancedSearch')}>
<Panel
collapsible
defaultExpanded={hasFilters}
header={t('SearchControlsContainer.advancedSearch')}
>
<Row>
<Col md={12}>
<SelectControl
Expand Down