Search bar not displaying results in Repeating Group

Hi everyone,

I’m currently trying to set up a search bar feature on my platform and I’m stuck.

What I want to achieve:
Users can type keywords into a search bar (which is an input), click a “Search” button, and then be redirected to a results page displaying a Repeating Group (RG) with posts containing those same keywords.

For example:
If a user types “painful periods”, the results page should display posts that contain “painful periods” in their content.

Here’s how I set it up:

  • Input field for keywords

  • “Search” button

  • Workflow redirects to a results page

  • The results page has a Repeating Group

  • The RG data source uses Do a search for

  • I’m using Get data from page URL to pass the search term

The problem:
In preview mode, nothing appears in the Repeating Group. No results at all.

I’m attaching screenshots of:

  • The “Search” button workflow

  • The results page

  • The Repeating Group settings

  • The search_query configuration

  • The Get data from page URL setup

  • workflow when a post is create

I suspect the issue is coming from how I configured the search_query or the Get data from page URL, but I can’t figure out what’s wrong.

If anyone could help or point me in the right direction, I’d really appreciate it :folded_hands:

Let me know if you need more details about my database structure.

Thanks in advance!

You’ve got a lot going on in your workflows…

a few things aren’t needed when you create a post.

But, do you have a repeating group for your blog? If so, why do you need a separate page with the search results? Why not just sort the current RG with the results?

if the url parameter is not populated in the results screen, it could be because you’re resetting relevant inputs when you create the post before you navigate to the results screen.

if it is populated, debug and run step by step to see where the filter fails.

I don’t know about your app, but @senecadatabase is right, it would be simpler to filter on the same page if you have a RG of all posts already in the page with the input field.