riccox / meilisearch-ui

😎 An open-source, pretty, simple and fast ⚡ meilisearch admin dashboard UI for managing your meilisearch instances 🕹
https://meilisearch-ui.riccox.com
Apache License 2.0
398 stars 52 forks source link

Update document sent to 'undefined' index instead of the current one. #162

Closed reinaldomendes closed 3 weeks ago

reinaldomendes commented 4 weeks ago

Error on the URL /ins/1/index/books/documents?q=&limit=20&offset=0&filter=&sort=

To Reproduce Steps to reproduce the behavior:

  1. Open meilisearch-ui on the browser
  2. Select one index and click documents
  3. Open Chrome inspector in the Network tab
  4. Update the documents in JSON tab
  5. You will see no PUT/PATCH request
  6. Repeat step 4 with JSON, Table and Grid
  7. You will see task created but the index is undefined instead current index

Expected behavior Expect document update in every view tab (JSON, Grid, Table) to update the index.

Screenshots First Second

Environments (please complete the following information):

riccox commented 3 weeks ago

@reinaldomendes

Fixed in latest version.