WIP: improve search #1

Closed
rob wants to merge 26 commits from improve-search into master
1 changed files with 10 additions and 10 deletions
Showing only changes of commit 59f292bc1e - Show all commits

View File

@ -253,11 +253,11 @@ fn torrent_search(
let mut stmt = conn.prepare(&stmt_str)?;
let torrent_iter = stmt.query_map(
params!{
params![
query.replace(" ", "%"),
offset.to_string(),
size.to_string(),
},
],
|row| {
Ok(Torrent {
infohash: row.get(0)?,