Hi all,
I’ve got a problem with showing data from the Current User.
Specifically on a user profile page coming from a ‘transaction collection’-record.
In the transaction collection there are 2 user properties:
- ‘TransactionFromUser’
- ‘TransactionToUser’.
One of those is equal to the logged in user for the relevant screen.
When the logged in user == TransactionFromUser there is no problem.
When the logged in user == TransactionToUser the wrong data is shown on the linked profile page (data from the logged in user itself, instead of data from the other user).
I could see where the system gets confused. But I would think that if there are two users to choose from, including the logged in user the Current User should always be the other user.
Has anyone experienced likewise problems? And maybe have a thought to a fix?
Changing the collection to include only one user property would mean rebuilding the whole app-logic, so trying to avoid that…
Hope someone has an awesome idea!
With regards,
Steven