mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 20:15:07 +08:00
fix the details
This commit is contained in:
parent
0f0cd2d929
commit
b5fe0b2b07
@ -135,6 +135,7 @@ impl From<Details> for DetailsView {
|
|||||||
},
|
},
|
||||||
Details::DocumentDeletionByFilter { original_filter, deleted_documents } => {
|
Details::DocumentDeletionByFilter { original_filter, deleted_documents } => {
|
||||||
DetailsView {
|
DetailsView {
|
||||||
|
provided_ids: Some(0),
|
||||||
original_filter: Some(original_filter),
|
original_filter: Some(original_filter),
|
||||||
deleted_documents: Some(deleted_documents),
|
deleted_documents: Some(deleted_documents),
|
||||||
..DetailsView::default()
|
..DetailsView::default()
|
||||||
|
@ -176,6 +176,7 @@ async fn delete_document_by_filter() {
|
|||||||
"type": "documentDeletion",
|
"type": "documentDeletion",
|
||||||
"canceledBy": null,
|
"canceledBy": null,
|
||||||
"details": {
|
"details": {
|
||||||
|
"providedIds": 0,
|
||||||
"deletedDocuments": 2,
|
"deletedDocuments": 2,
|
||||||
"originalFilter": "\"color = blue\""
|
"originalFilter": "\"color = blue\""
|
||||||
},
|
},
|
||||||
@ -228,6 +229,7 @@ async fn delete_document_by_filter() {
|
|||||||
"type": "documentDeletion",
|
"type": "documentDeletion",
|
||||||
"canceledBy": null,
|
"canceledBy": null,
|
||||||
"details": {
|
"details": {
|
||||||
|
"providedIds": 0,
|
||||||
"deletedDocuments": 2,
|
"deletedDocuments": 2,
|
||||||
"originalFilter": "\"color = blue\""
|
"originalFilter": "\"color = blue\""
|
||||||
},
|
},
|
||||||
|
@ -485,6 +485,7 @@ async fn delete_document_by_filter() {
|
|||||||
"type": "documentDeletion",
|
"type": "documentDeletion",
|
||||||
"canceledBy": null,
|
"canceledBy": null,
|
||||||
"details": {
|
"details": {
|
||||||
|
"providedIds": 0,
|
||||||
"deletedDocuments": 0,
|
"deletedDocuments": 0,
|
||||||
"originalFilter": "\"doggo = bernese\""
|
"originalFilter": "\"doggo = bernese\""
|
||||||
},
|
},
|
||||||
@ -518,6 +519,7 @@ async fn delete_document_by_filter() {
|
|||||||
"type": "documentDeletion",
|
"type": "documentDeletion",
|
||||||
"canceledBy": null,
|
"canceledBy": null,
|
||||||
"details": {
|
"details": {
|
||||||
|
"providedIds": 0,
|
||||||
"deletedDocuments": 0,
|
"deletedDocuments": 0,
|
||||||
"originalFilter": "\"doggo = bernese\""
|
"originalFilter": "\"doggo = bernese\""
|
||||||
},
|
},
|
||||||
@ -551,6 +553,7 @@ async fn delete_document_by_filter() {
|
|||||||
"type": "documentDeletion",
|
"type": "documentDeletion",
|
||||||
"canceledBy": null,
|
"canceledBy": null,
|
||||||
"details": {
|
"details": {
|
||||||
|
"providedIds": 0,
|
||||||
"deletedDocuments": 0,
|
"deletedDocuments": 0,
|
||||||
"originalFilter": "\"catto = jorts\""
|
"originalFilter": "\"catto = jorts\""
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user