add a bunch of tests and fix the error message when adding the geosearch as filterable/sortable while there is malformed documents in the DB

This commit is contained in:
Tamo 2024-01-17 15:51:52 +01:00
parent 3b8a9597e2
commit 7d190d8078
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
3 changed files with 180 additions and 3 deletions

View file

@ -64,7 +64,7 @@ impl Display for Value {
write!(
f,
"{}",
json_string!(self, { ".enqueuedAt" => "[date]", ".processedAt" => "[date]", ".finishedAt" => "[date]", ".duration" => "[duration]" })
json_string!(self, { ".enqueuedAt" => "[date]", ".startedAt" => "[date]", ".finishedAt" => "[date]", ".duration" => "[duration]" })
)
}
}