I have a list that should display data from a collection called Workspaces, which includes a foreign key for user_id
.
I’m using a filter that shows items where user_id
contains auth.userid
. However, when I log in and navigate to the page, the list inside the Sidemenu doesn’t display any items until I add a new one, then it display all items and the new one too.
I’ve managed to get it working, but i did this:
when I change logins, the workspace collection data isn’t automatically fetched, so it stays with the old user logged workspace data. In the page workflow i’ve used on page load to fetch the workspace collection.
Is this expected behavior, or should I handle it differently?