Skip to content

Commit

Permalink
STSMACOM-872: Reset qindex once the search field is empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmytro-Melnyshyn committed Nov 4, 2024
1 parent f139a31 commit f62cf7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Improve confirmation modal footer for `ControlledVocab` component. Refs STSMACOM-863.
* Add the `endDateInputRef` prop to `DateRangeFilter` to access the end date element. Refs STSMACOM-859.
* Remove unnecessary `aria-rowindex` in `ItemView` and `ItemEdit` components. Fixes STSMACOM-871.
* Reset `qindex` once the search field is empty. Fixes STSMACOM-872.

## [9.2.0](https://github.com/folio-org/stripes-smart-components/tree/v9.2.0) (2024-10-11)
[Full Changelog](https://github.com/folio-org/stripes-smart-components/compare/v9.1.3...v9.2.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/SearchAndSort/SearchAndSort.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ class SearchAndSort extends React.Component {
} = this.props;
this.log('action', 'cleared search query');
this.setState({ locallyChangedSearchTerm: '' });
this.transitionToParams({ query: '', ...extraParamsToReset });
this.transitionToParams({ query: '', qindex: '', ...extraParamsToReset });
};

onCloseEdit = (e) => {
Expand Down

0 comments on commit f62cf7f

Please sign in to comment.