There are two collections, users and orders. A user hasMany orders.
We’re building a Smart View for the user collection and will show all the orders and their detail under each user like this:
* User 1
1. Order a
2. Order b
* User 2
1. Order c
2. Order d
We add a button Refresh that calls fetchRecords to refresh the current page.
But after changing the detail of the order, the orders shown on the Smart View seem not being fetched and we have to manually press F5 to refresh the entire view.
Is this a bug or do I need an additional parameter for fetchRecords to correctly fetch relationships data?
The first call to fetchRecords fetches records and the relationships.
Another call to fetchRecords will fetch again the records, but not the relationships.
That is why a refresh button will not bring relationship changes.
I am thinking this is a bug so I am creating a ticket to solve this.
The issue tracking is visible here: ClickUp
Hi @JimmyHu I have some news for you.
After many investigations, this behavior is the normal one, for performance purpose.
BUT I have push a little fix who can let you do a trick for that.
After refreshing your browser you can do something like below