Skip to content

Commit

Permalink
feat: add new index-field 'startletter'
Browse files Browse the repository at this point in the history
  • Loading branch information
hying committed Sep 13, 2024
1 parent cad3a48 commit ec434c0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ public function enrichDocument(
?: $base->getString('title');
$doc->sp_sortvalue = $sortHeadline;

if ($base->has('startletter')) {
$doc->sp_startletter = $base->getString('startletter');
}
$doc->sp_startletter = $base->getString('startletter');

Check failure on line 136 in src/Service/Indexer/SiteKit/DefaultSchema2xDocumentEnricher.php

View workflow job for this annotation

GitHub Actions / verify / verify

Access to an undefined property E of Atoolo\Search\Service\Indexer\IndexSchema2xDocument::$sp_startletter.

/** @var string[] $keyword */
$keyword = $metadata->getArray('keywords');
Expand Down

0 comments on commit ec434c0

Please sign in to comment.