@plone/volto 17.20.3 → 17.20.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,12 @@ myst:
|
|
|
17
17
|
|
|
18
18
|
<!-- towncrier release notes start -->
|
|
19
19
|
|
|
20
|
+
## 17.20.4 (2025-01-07)
|
|
21
|
+
|
|
22
|
+
### Bugfix
|
|
23
|
+
|
|
24
|
+
- Fixed folder contents issues with persistent selection across page changes. @pnicolli [#6555](https://github.com/plone/volto/issues/6555)
|
|
25
|
+
|
|
20
26
|
## 17.20.3 (2024-12-12)
|
|
21
27
|
|
|
22
28
|
### Bugfix
|
package/package.json
CHANGED
|
@@ -457,6 +457,7 @@ class Contents extends Component {
|
|
|
457
457
|
this.setState(
|
|
458
458
|
{
|
|
459
459
|
currentPage: 0,
|
|
460
|
+
selected: [],
|
|
460
461
|
},
|
|
461
462
|
() =>
|
|
462
463
|
this.setState({ filter: '' }, () =>
|
|
@@ -650,6 +651,7 @@ class Contents extends Component {
|
|
|
650
651
|
this.setState(
|
|
651
652
|
{
|
|
652
653
|
currentPage: value,
|
|
654
|
+
selected: [],
|
|
653
655
|
},
|
|
654
656
|
() => this.fetchContents(),
|
|
655
657
|
);
|
|
@@ -667,6 +669,7 @@ class Contents extends Component {
|
|
|
667
669
|
{
|
|
668
670
|
pageSize: value,
|
|
669
671
|
currentPage: 0,
|
|
672
|
+
selected: [],
|
|
670
673
|
},
|
|
671
674
|
() => this.fetchContents(),
|
|
672
675
|
);
|
|
@@ -726,6 +729,7 @@ class Contents extends Component {
|
|
|
726
729
|
this.setState({
|
|
727
730
|
sort_on: values[0],
|
|
728
731
|
sort_order: values[1],
|
|
732
|
+
selected: [],
|
|
729
733
|
});
|
|
730
734
|
this.props.sortContent(
|
|
731
735
|
getBaseUrl(this.props.pathname),
|
|
@@ -753,6 +757,7 @@ class Contents extends Component {
|
|
|
753
757
|
this.setState(
|
|
754
758
|
{
|
|
755
759
|
currentPage: 0,
|
|
760
|
+
selected: [],
|
|
756
761
|
},
|
|
757
762
|
() => this.fetchContents(),
|
|
758
763
|
);
|
|
@@ -778,6 +783,7 @@ class Contents extends Component {
|
|
|
778
783
|
this.setState(
|
|
779
784
|
{
|
|
780
785
|
currentPage: 0,
|
|
786
|
+
selected: [],
|
|
781
787
|
},
|
|
782
788
|
() => this.fetchContents(),
|
|
783
789
|
);
|