From fce797cb4734aa232868e2b4136205a050838241 Mon Sep 17 00:00:00 2001 From: RumovZ Date: Thu, 31 Mar 2022 18:23:18 +0200 Subject: [PATCH] =?UTF-8?q?search=5Fnotes=5Fcards=5Finto=5Ftable=20?= =?UTF-8?q?=E2=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit search_cards_of_notes_into_table --- rslib/src/import_export/gather.rs | 2 +- rslib/src/storage/card/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rslib/src/import_export/gather.rs b/rslib/src/import_export/gather.rs index a65af7831..a9c929756 100644 --- a/rslib/src/import_export/gather.rs +++ b/rslib/src/import_export/gather.rs @@ -155,7 +155,7 @@ impl Collection { } fn gather_cards(&mut self) -> Result> { - self.storage.search_notes_cards_into_table()?; + self.storage.search_cards_of_notes_into_table()?; self.storage.all_searched_cards() } diff --git a/rslib/src/storage/card/mod.rs b/rslib/src/storage/card/mod.rs index f0eb7e282..37617711d 100644 --- a/rslib/src/storage/card/mod.rs +++ b/rslib/src/storage/card/mod.rs @@ -457,7 +457,7 @@ impl super::SqliteStorage { /// Place the ids of cards with notes in 'search_nids' into 'search_cids'. /// Returns number of added cards. - pub(crate) fn search_notes_cards_into_table(&self) -> Result { + pub(crate) fn search_cards_of_notes_into_table(&self) -> Result { self.setup_searched_cards_table()?; self.db .prepare(concat!(