Skip to content

Commit

Permalink
πŸ›
Browse files Browse the repository at this point in the history
  • Loading branch information
jgunzelman88 committed Feb 23, 2023
1 parent 0acfd04 commit ee05b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/utils/sql_collection_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ pub fn search_card_collection_count(
);

let statement = format!("SELECT count(cardID) as count FROM ({})",&query_sql);
let row = connection.query_row(&statement, named_params! {":searchTerm",search_term}, |row| Ok(row.get(0)))?;
let row = connection.query_row(&statement, named_params! {":searchTerm":search_term}, |row| Ok(row.get(0)))?;
match row {
Ok(val) => return Ok(val),
Err(e) => Err(Box::from(e)),
Expand Down

0 comments on commit ee05b72

Please sign in to comment.