Closed nkenobi closed 3 years ago
Prior to checkout - Details screen
Prior to checkout - search results
After checkout - details
After checkout - search
HI! Thank you for reporting this issue and the other one.
We will have a look on Monday, but from a very quick reading of the issue, do you have celery
running in a console?
Every time you perform an action, you will need to have celery pushing updated data to Elasticsearch.
Indeed, that seems to do the trick.
Thanks for the quick response.
Package version (if known): Latest (29)
Describe the bug
Started to look into the React SearchKit with this project as an example and found an issue where the updated values are not consistently reflected back in Search results.
Steps to Reproduce
Expected behavior
The search in Step 4 above should show 1 item on "Not on Loan" and 1 item on "On Loan"
Screenshots (if applicable)
Attached
Additional context
Wasn't sure if it is a problem with React Search Kit, DB, API/query issue or application problem such as caching. So I tried to narrow it down as follows: Restarted the app to flush all stale values, also restarted DB/Docker and Server, but still same inconsistency in Search result and Details result.
Am attaching screen shots but it is not difficult to reproduce.