Skip to content

Commit 57f0af4

Browse files
committed
Serialise sermons correctly
1 parent 690bc88 commit 57f0af4

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

Packages/Application/Psmb.PsmbImport/Classes/Command/SermonCommandController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function assignCategoriesCommand(
170170
foreach ($categoryNames as $categoryName) {
171171
$categoryNode = $this->getOrCreateCategoryByName($categoryName, $categoryStorageNode, $categoryNodeType, $dryRun);
172172
if ($categoryNode) {
173-
$categoryNodes[] = $categoryNode;
173+
$categoryNodes[] = $categoryNode->getIdentifier();
174174
// Track nodes that might need publishing (newly created categories)
175175
if (!isset($nodesToPublish[$categoryNode->getPath()])) {
176176
$nodesToPublish[$categoryNode->getPath()] = $categoryNode;

Packages/Sites/Sfi.Site/Resources/Private/Fusion/NodeTypes/SermonsFacetsJson.fusion

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ prototype(Sfi.Site:SermonsFacetsJson) < prototype(T:Value) {
4343
id = ${bucket.key}
4444
title = ${q(site).find('#' + bucket.key).get(0).properties.title}
4545
count = ${bucket.doc_count}
46-
kkk = ${bucket.key}
4746
}
4847
# @process.sort = ${value && q(value).count() > 0 && q(value).sort('_index', 'ASC')}
4948
}

0 commit comments

Comments
 (0)