@eeacms/volto-clms-theme 1.1.214 → 1.1.215
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
|
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [1.1.215](https://github.com/eea/volto-clms-theme/compare/1.1.214...1.1.215) - 24 February 2025
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- Refs #284774 - CclRelatedListingBlock, add Item batch size field, number, default 20. [GhitaB - [`24b030b`](https://github.com/eea/volto-clms-theme/commit/24b030b1137d9a123916a8f4481069f99edabfca)]
|
|
7
12
|
### [1.1.214](https://github.com/eea/volto-clms-theme/compare/1.1.213...1.1.214) - 21 February 2025
|
|
8
13
|
|
|
9
14
|
### [1.1.213](https://github.com/eea/volto-clms-theme/compare/1.1.212...1.1.213) - 20 February 2025
|
package/package.json
CHANGED
|
@@ -22,9 +22,11 @@ const CclRelatedListingView = (props) => {
|
|
|
22
22
|
directRelation = false,
|
|
23
23
|
searchParamsExecution = () => {},
|
|
24
24
|
} = props;
|
|
25
|
+
|
|
26
|
+
const items_per_page = data.item_batch_size || 20;
|
|
25
27
|
const use_pagination = useFilteredPagination(
|
|
26
28
|
[],
|
|
27
|
-
|
|
29
|
+
items_per_page,
|
|
28
30
|
id,
|
|
29
31
|
searchParamsExecution,
|
|
30
32
|
);
|
|
@@ -15,7 +15,7 @@ const Schema = (props) => {
|
|
|
15
15
|
{
|
|
16
16
|
id: 'default',
|
|
17
17
|
title: 'Default',
|
|
18
|
-
fields: ['content_type', 'variation'],
|
|
18
|
+
fields: ['content_type', 'variation', 'item_batch_size'],
|
|
19
19
|
},
|
|
20
20
|
],
|
|
21
21
|
properties: {
|
|
@@ -27,6 +27,13 @@ const Schema = (props) => {
|
|
|
27
27
|
title: 'Variation',
|
|
28
28
|
choices: [...variations],
|
|
29
29
|
},
|
|
30
|
+
item_batch_size: {
|
|
31
|
+
title: 'Item batch size',
|
|
32
|
+
type: 'number',
|
|
33
|
+
minimum: 0,
|
|
34
|
+
maximum: 10000,
|
|
35
|
+
default: 20,
|
|
36
|
+
},
|
|
30
37
|
},
|
|
31
38
|
required: [],
|
|
32
39
|
};
|