Services Plugins FAQs

Problem with Fuzzy Search

Hello,

I am having an issue with the Fuzzy Search Plugin. Basically, I am creating a contacts page where users can create groups of contacts. Fuzzy search works on the master contacts list when the page loads, but when I click on a specific group of contacts, I can’t search anymore.

Here’s a link to the screen recording: https://vimeo.com/1007736796?share=copy

Here’s the editor as well: Scout | Bubble Editor

Any help would be greatly appreciated.

Thanks!
Isaac

Hi @isaacshaw57,

Thank you so much for reaching out to us and for using our plugins :hugs:

The video and the editor were very helpful in diagnosing the behavior! The reason you’re experiencing this issue is that you’re using the Display List action, which takes precedence over the plugin’s data source when it contains matches.

When inspecting the repeating group after clicking on any list, you’ll see a warning message. The plugin correctly retrieves the repeating group’s objects and searches through them - screenshot, as you can see using the Bubble debugger.

Feel free to adjust your current setup for the repeating group to correctly show the plugin’s data sources :pray:

If you have any other questions or concerns, or if anything I mentioned above is unclear, feel free to reach out to me anytime!

Best regards :sunflower:

If it only shows the plugins data sources, it won’t show the contacts to start.

There are exceptions in place in the Repeating Group for the Plugin.

Basically the page would need to load ALL contacts that can be searched.
When a contact list is clicked, only the contacts in that list can be searched.
When ALL contacts is clicked, it should go back to all contacts so that can be searched.

I could be missing something, but with the approach above, it would show the plugins data - but it would not show the data being populated by the contacts list. So if I click into a list, it would not narrow down my Repeating group to only those contacts.

Please Advise - thank you!

Hi @isaacshaw57,

Since this is a custom build, I’m unable to provide a plugin setup for your specific use case :pensive: However, let me offer a suggestion that might work - please note that I haven’t tested it but it makes technical sense!

Instead of displaying the list in the repeating group when users click on a list of contacts, you could add conditionals for the data source in both the repeating group and the plugin search element. By “filtering” the data source for both, the plugin should then display the results in the repeating group, as the Display list if taking priority over the entries visible.

Feel free to test out my suggestion and make any necessary changes to better fit your use case :pray:

Best regards :hibiscus:

Sorry, not clear on this. Could you tell me which repeating group you mean, as well as what the conditional would actually state?

Hi @isaacshaw57,

Let me provide you with more details to help you understand it better!

Instead of using the “Display List” action when users try to filter the results of the repeating group, try setting up constraints in the datasource of the repeating group based on the list the user selects. As you provide the plugin element with the lists from the repeating group, the search should only be performed on the lists the user selected, and the matches should correctly show in the repeating group!

Since the “Display List” will override the repeating group conditionals set up to show the plugin matches, the repeating group won’t show the matches after users trigger the action.

Try to design a setup that works best for your use case!

Best regards :sunflower: