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!(