Not able to use many to many relation to filter in a list

I was able to use this feature before but now it is unavailable. I have created a many to many relationship for users to set followings and followers. I want to filter the list of users based on this many to many relationship. But while filtering the list I can’t see this user relationship.

1 Like

Actually I don’t think it has ever been possible to compare many records with many other records. But you can define a certain property of a single record and filter by that.

1 Like

Hi Patrick,
Actually I was following your youtube video to create friend request feature on Adalo. I really appreciate your work for the Adalo community.

I am attaching the link to the video :

At the timestamp 7.30, you are setting the remove friend icon to be only visible if the Logged in User → Followers → All contains Current User. The Followers in this case is many to many relation of users. I am not able to see either Followers/ Followings while setting the visiblility of the icon. I’m also adding a screen shot for reference.

Ohhhhhh I see. Yeah this is very problematic. It seems something may have gotten broken when we pushed out the flyouts update! I’ll ask the team about this. Thank you!

2 Likes

Thank you so much for giving your precious time to my post and for such a quick response.

1 Like

Hi Patrick,
Is there possibly any way to make this feature available for my project on a short notice? Actually I have a project with a deadline and this feature is a very important component of this application.

Actually our devs were testing the solution on Friday but we don’t ship things on Friday in order to avoid breakages over the weekend so it’s likely this will be ready first part of next week!

2 Likes

Amazing! Thanks for the update.
Also I wanted to bring this to your attention that the feature works fine for 2 different collections (for example between users-posts). The problem comes when the relation is created amongst the same collection (example between users-users).

Just to update here. This issue has been fixed. Note that you’ll need to recreate the relationships in order to see the change! Let me know if you have any issues!

3 Likes

Hi Patrick,
Yes now I can see those relationships in the filter. Thanks a lot for fixing it so quickly.

2 Likes

Hi everyone,
although it seems the specific issue for @mohit51196 was solved, I still cannot filter a list by comparing a many-to-many relationship.

My use case is a different one, but the problem seems the same.

So I have a list of items which I want users to be able to filter by colour.
Items have multiple colours rather than one main colour (many-to-many relationship between a collection for items and a collection for colours).
I also have a collection of selected filters that is up-dated each time the user changes the filter he/she wants to apply (many-to-many relationship between collection selected filters and the collection for colors).

Now, I wanted to set a filter with

Current Item > All Colors
contains
Current Selected Filters > All Colors

However, I cannot select “All Colors” for the latter setting.
Maybe there is another way of solving this that I haven’t come up with yet. So any pointers towards a solution are much appreciated. :pray:

Hello, +1, i have the same problem.
Can you help us ?
Thank you