mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Fix the binaries that use the new optional filters
This commit is contained in:
parent
25faef67d0
commit
1c6c89f345
2 changed files with 4 additions and 3 deletions
|
@ -250,8 +250,9 @@ impl Search {
|
|||
}
|
||||
|
||||
if let Some(ref filter) = self.filter {
|
||||
let condition = milli::Filter::from_str(filter)?;
|
||||
search.filter(condition);
|
||||
if let Some(condition) = milli::Filter::from_str(filter)? {
|
||||
search.filter(condition);
|
||||
}
|
||||
}
|
||||
|
||||
if let Some(offset) = self.offset {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue