Curate Data that Appears on Map

I am building an app where users log their favourite places. The app allows other users to follow me and see my favourite places in a location.

I have two main datasets right now.

  1. Users - keeps track of personal info as well as who I am following
  2. Places - captures the location and name of the place as well as the person who “liked” it.

I have a map function and I am successfully able to show all the saved places from the “Places” dataset on the map.

Where I am having trouble is curating the map view to only show people who I am following. I have tried adding a condition “Likers contains Current Users Friends” but I get the error that I am trying to show a list rather than an individual user.

I have been trying to crack this nut for a few days now and I am out of ideas.

Any help would be greatly appreciated!

Hey @conor86 :wave:

You can use an advanced filter, simply filter after doing the search. Then, in this filter, add a constraint with this logic: This post's Likers intersect with Current User's Friends: count > 0.

I hope this helps.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

Thanks so much for the reply! I am trying to filter directly on the map and I can’t seem to be able to do advanced filtering. I guess this isnt something you can do on the map?

You will add a constraint and then select advanced.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

This struggling with this after your advice. Am I missing something obvious?

You will do what I explained inside the filter.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

Thanks so much! I got it to work!! (Appreciate your patience)

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.