Hi, I have an RG of stores that accepts/does not accept reservations. I made a filter (button) but can’t seem to get it to work properly. All stores in my DB currently accept reservations, but when I click on my filter all the stores disappear.
In the backend, the “Store” data type has a “reservation” field which is linked to the Reservation data type. In Reservation, I just have the data field “type” and these are the different types of reservations:
This is the workflow of the filter when it’s clicked:
1st step (RG_filter is the custom state of the page “search-results”):
I think my issue is in the 2nd step where I’m adjusting the RG based off this new filter. I’ve been stuck on this for a while so really appreciate any help on this!
Be sure to checkout the Stripe Integration Course when you are ready to integrate Stripe payments to start monetizing your application via product sales or subscriptions.
Your issue seems to be the setting of the state…if you are using a checkbox to add the ‘type’ individually your addition to the list value stored in the state should be
search-result’s RG_filter:plus item current type
When I use ‘current type’ I am expecting your filters to be in a repeating group with a specific type set to it that is the same that the custom state holding the list is.
@boston85719 I should’ve mentioned the dropdown is on a separate page, so I can’t choose the dropdown as the element changing the state. Is there a way to use the filter if the dropdown isn’t on the same page?
I charged the “set stage” workflow but am still not seeing results.
@boston85719 The issue is that the “Accepts Reservations” button doesn’t correctly filter the repeating group to show all the stores that take reservations.
In this picture, I have all my stores accepting reservations and this appears by default. When I click on the “Accepts Reservations”, this repeating group should still be showing these three stores but it is not. It clears out all the stores, so it is not working properly.