From e3064a3ace7e37da5c15d3711d494cf1348f766b Mon Sep 17 00:00:00 2001 From: Dendy Faist Date: Fri, 11 Apr 2025 08:02:43 +0200 Subject: [PATCH] fix: Fix SentKanji not containing the given Term --- src/Command/CreateProductionCommand.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Command/CreateProductionCommand.php b/src/Command/CreateProductionCommand.php index 905bb85..0cf76c2 100644 --- a/src/Command/CreateProductionCommand.php +++ b/src/Command/CreateProductionCommand.php @@ -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, ));