mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-31 10:50:03 +00:00
Apply suggestions from code review
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
@ -311,7 +311,9 @@ impl<'t> CriteriaBuilder<'t> {
|
||||
point.clone(),
|
||||
)?),
|
||||
AscDescName::Desc(Member::Geo(_point)) => {
|
||||
return Err(UserError::InvalidSortName { name: "Sorting in descending order is currently not supported for the geosearch".to_string() })?
|
||||
return Err(UserError::InvalidSortName {
|
||||
name: "Sorting in descending order is currently not supported for the geosearch".to_string(),
|
||||
})?
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user