mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Fix the binaries that use the new optional filters
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user