mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Merge #4731
4731: Fix the missing geo distance when one or both of the lat / lng are string r=irevoire a=irevoire # Pull Request ## Related issue Fixes https://github.com/meilisearch/meilisearch/issues/4193 ## What does this PR do? - Properly extract the lat / lng when one or both of them are string - Add a test Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
commit
809e742253
2 changed files with 63 additions and 2 deletions
|
@ -150,7 +150,8 @@ async fn bug_4640() {
|
|||
"_geo": {
|
||||
"lat": "45.4777599",
|
||||
"lng": "9.1967508"
|
||||
}
|
||||
},
|
||||
"_geoDistance": 0
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue