mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
search_notes_cards_into_table →
search_cards_of_notes_into_table
This commit is contained in:
parent
4aa5ee5fb4
commit
fce797cb47
2 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ impl Collection {
|
|||
}
|
||||
|
||||
fn gather_cards(&mut self) -> Result<Vec<Card>> {
|
||||
self.storage.search_notes_cards_into_table()?;
|
||||
self.storage.search_cards_of_notes_into_table()?;
|
||||
self.storage.all_searched_cards()
|
||||
}
|
||||
|
||||
|
|
|
@ -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<usize> {
|
||||
pub(crate) fn search_cards_of_notes_into_table(&self) -> Result<usize> {
|
||||
self.setup_searched_cards_table()?;
|
||||
self.db
|
||||
.prepare(concat!(
|
||||
|
|
Loading…
Reference in a new issue