Skip to content

Commit

Permalink
fix: limit search to 15 results
Browse files Browse the repository at this point in the history
  • Loading branch information
benediktms committed Jan 15, 2023
1 parent 9c47633 commit 2df1bf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src-tauri/src/util/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pub fn search(
.more_locations(more_locations.to_vec())
.depth(depth.unwrap_or(1))
.ext(extension.unwrap_or("*"))
.limit(15)
.ignore_case()
.build()
.collect();
Expand Down

0 comments on commit 2df1bf4

Please sign in to comment.