Skip to content

Commit

Permalink
fix: porting of pr plone/volto#6554
Browse files Browse the repository at this point in the history
  • Loading branch information
pnicolli committed Dec 24, 2024
1 parent 6371581 commit 64d533e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ class Contents extends Component {
this.setState(
{
currentPage: 0,
selected: [],
},
() =>
this.setState({ filter: '' }, () =>
Expand Down Expand Up @@ -692,6 +693,7 @@ class Contents extends Component {
this.setState(
{
currentPage: value,
selected: [],
},
() => this.fetchContents(),
);
Expand All @@ -709,6 +711,7 @@ class Contents extends Component {
{
pageSize: value,
currentPage: 0,
selected: [],
},
() => this.fetchContents(),
);
Expand Down Expand Up @@ -772,6 +775,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 @@ -799,6 +803,7 @@ class Contents extends Component {
this.setState(
{
currentPage: 0,
selected: [],
},
() => this.fetchContents(),
);
Expand All @@ -824,6 +829,7 @@ class Contents extends Component {
this.setState(
{
currentPage: 0,
selected: [],
},
() => this.fetchContents(),
);
Expand Down

0 comments on commit 64d533e

Please sign in to comment.