How to fix list result

How to fix list result

  

Hello! I'm a beginner who's using Outsystems to make a recipe app which suggests recipes based on what the user currently has in the kitchen. I added a list to display all the recipes I currently have in the database. So far, I added 2 to test it out. But whenever I preview it, it tends to duplicate the results like this: I really want to fix the second row. Hoping someone could help out.


Hi Angella Lee,

This must be a list append issue , can you please check your preview logic?. Try clearing your list in preview before you get these two items in preview list.



Regards

PJ

Solution

Also, have you inspected your data to ensure that you haven't added the recipe multiple times in testing?


Chad

Solution

In addition, you should also check if your query to the database has the correct joins.