fix: Fix SentKanji not containing the given Term
This commit is contained in:
parent
477f2d3684
commit
e3064a3ace
|
@ -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,
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue