Skip to content

Commit

Permalink
[TASK] Rename categoryIdList with uidInList
Browse files Browse the repository at this point in the history
  • Loading branch information
schloram authored and lukaszuznanski committed May 9, 2024
1 parent b82e303 commit 97bed4e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Classes/DataProcessing/CategoriesProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* dataProcessing {
* 10 = headless-categories
* 10 {
* categoryIdList = 1,3,5
* uidInList = 1,3,5
*
* as = categories
* }
Expand All @@ -47,7 +47,7 @@
* dataProcessing {
* 10 = headless-categories
* 10 {
* categoryIdList = 1,3,5
* uidInList = 1,3,5
* pidInList = leveluid:0
* recursive = 250
*
Expand Down Expand Up @@ -87,10 +87,10 @@ public function process(
];
$queryConfig = [];

$categoryIdList = (string)$cObj->stdWrapValue('categoryIdList', $processorConfiguration, '');
if (empty($categoryIdList) === false) {
$uidInList = (string)$cObj->stdWrapValue('uidInList', $processorConfiguration, '');
if (empty($uidInList) === false) {
$queryConfig = [
'where' => '{#sys_category.uid} IN (' . $categoryIdList . ')',
'uidInList' => $uidInList,
'languageField' => 0,
];
}
Expand Down

0 comments on commit 97bed4e

Please sign in to comment.