Skip to content

Commit

Permalink
Merge branch '17.x.x' into newfeat-17-hide-show-blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
SaraBianchi committed Jan 14, 2025
2 parents eaa2c63 + 9b1b271 commit d70ac03
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ myst:

<!-- towncrier release notes start -->

## 17.20.4 (2025-01-07)

### Bugfix

- Fixed folder contents issues with persistent selection across page changes. @pnicolli [#6555](https://github.com/plone/volto/issues/6555)

## 17.20.3 (2024-12-12)

### Bugfix
Expand Down
6 changes: 6 additions & 0 deletions docs/source/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ myst:

<!-- towncrier release notes start -->

## 17.20.4 (2025-01-07)

### Bugfix

- Fixed folder contents issues with persistent selection across page changes. @pnicolli [#6555](https://github.com/plone/volto/issues/6555)

## 17.20.3 (2024-12-12)

### Bugfix
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
],
"license": "MIT",
"version": "17.20.3",
"version": "17.20.4",
"repository": {
"type": "git",
"url": "git@github.com:plone/volto.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/volto-slate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@plone/volto-slate",
"version": "17.20.3",
"version": "17.20.4",
"description": "Slate.js integration with Volto",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
6 changes: 6 additions & 0 deletions src/components/manage/Contents/Contents.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ class Contents extends Component {
this.setState(
{
currentPage: 0,
selected: [],
},
() =>
this.setState({ filter: '' }, () =>
Expand Down Expand Up @@ -650,6 +651,7 @@ class Contents extends Component {
this.setState(
{
currentPage: value,
selected: [],
},
() => this.fetchContents(),
);
Expand All @@ -667,6 +669,7 @@ class Contents extends Component {
{
pageSize: value,
currentPage: 0,
selected: [],
},
() => this.fetchContents(),
);
Expand Down Expand Up @@ -726,6 +729,7 @@ class Contents extends Component {
this.setState({
sort_on: values[0],
sort_order: values[1],
selected: [],
});
this.props.sortContent(
getBaseUrl(this.props.pathname),
Expand Down Expand Up @@ -753,6 +757,7 @@ class Contents extends Component {
this.setState(
{
currentPage: 0,
selected: [],
},
() => this.fetchContents(),
);
Expand All @@ -778,6 +783,7 @@ class Contents extends Component {
this.setState(
{
currentPage: 0,
selected: [],
},
() => this.fetchContents(),
);
Expand Down

0 comments on commit d70ac03

Please sign in to comment.