fix: Fix SentKanji not containing the given Term

This commit is contained in:
Dendy 2025-04-11 08:02:43 +02:00
parent 477f2d3684
commit e3064a3ace
1 changed files with 1 additions and 2 deletions

View File

@ -67,8 +67,7 @@ class CreateProductionCommand extends Command
protected function createProductionNoteFromTerm(Term $term): void
{
$noteIds = $this->ankiService->findNotesIds(sprintf(
//'VocabKanji:*%s* "note:%s"',
'*%s* "note:%s"',
'"SentKanji:*%s*" "note:%s"',
$term->getKanji(),
SentenceNote::MODEL_NAME,
));