Display all results

Hi guys,

I need to display all results from the database (with offices) when someone pushes the button “see all offices”. I want to use the same search results page that is in use already and it receives a parameter “v” =location whenver someone is looking for a specific city.

How can I use the same results page then?

Would clearing out the parameter work? Or do you want to keep the parameter there but toggle between the two options?

Maybe a condition on the search? I try to stay away from putting a condition on a search if possible. However, this might be the simplest approach though. :man_shrugging:

Thanks J. THe search results page where the “see all” button is sending people to is set to listen to the parameter V, which is needed for the real search results. And again, I want to use the same page.

Can I send a parameter with that buttom v=<<something like show all results?>>

I’ve attached how the condition on the search results page looks like right now, expecting the v parameter.

You can leave v as empty and then check the box about ignoring empty constraints and see if that works. So the parameter would be v=

Does that work for you?

But I need that parameter on the search results page because I use that page for the real results too, which have parameter v…

Right, so I am super confused. Why can’t you do what I am suggesting? Maybe make a video? I can’t see why either of these solutions won’t work. :sweat_smile:

This will work…and it will work even if the parameter is empty like v= or is not even in the URL

yesss. it worked!! thanks a lot, didn’t see the bit on “check empty constraints” :slight_smile: