text: Hi,
  I have this very serious issue i need help with. Im using the code below to filter a table of client information dependant on users email that is currently loggged in (Confidential)
  It works fine, however there is an error when the user clicks the link on their own filtered data it loads a page containing their data. but if they click the back button on a browser or mobile device the table fails to refilter and shows all clients data!!!!
  This is a disaster for me any one know how i can change the below code to stop this happening.
  Thanks
  import wixUsers from 'wix-users'; import wixData from 'wix-data'; $w.onReady(function () { $w("#diettable").hide(); $w("#mydiet").onReady(() => { wixUsers.currentUser.getEmail() .then((email) => { console.log('Here is the email being sent to filter', email); $w("#mydiet").setFilter(wixData.filter() .eq("email", email) ) .then(() => { console.log("Dataset is now filtered"); $w("#diettable").show(); console.log("Table now shown"); }) .catch((err) => { console.log(err); }); }); }); });