File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/DsTrinityDataBundle/Service/Builder Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11# Upgrade Notes
22
3+ ## 2.0.1
4+ - [ BUGFIX] Add null coalescing operator to ` $options['asset_limit'] ` in ` AssetListBuilder:getList() `
5+
36## Migrating from Version 1.x to Version 2.0.0
47
58### Global Changes
1417
1518***
1619
17- 1.x Upgrade Notes: https://github.com/dachcom-digital/dynamic-search-data-provider-trinity/blob/1.x/UPGRADE.md
20+ 1.x Upgrade Notes: https://github.com/dachcom-digital/dynamic-search-data-provider-trinity/blob/1.x/UPGRADE.md
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public function buildById(int $id): ?ElementInterface
5555 protected function getList (array $ options ): Asset \Listing
5656 {
5757 $ allowedTypes = $ options ['asset_types ' ];
58- $ limit = $ options ['asset_limit ' ];
58+ $ limit = $ options ['asset_limit ' ] ?? 0 ;
5959 $ additionalParams = $ options ['asset_additional_params ' ];
6060
6161 $ list = new Asset \Listing ();
You can’t perform that action at this time.
0 commit comments