Hi
I’ve so far had a lot of help from community members on search result issues concerning filtering.
I am now turning to community members again for help in sorting the results.
Firstly, I have a hotel listing site that allows the user to filter the results based on a variety of parameters including property type, overall rating, facilities and neighborhood. These all function properly.
Now when I sort the results I am able to sort them as I intended to. I have accomplished this in a few different ways (I’ve tried three different ways to find a solution to the issue I am having.)
The main issue now is that when a user selects a parameter to sort by (lowest price for example) the repeating group search results are unable to be altered again by selecting any of the parameters to filter by (property type or neighborhood for example).
The other issue is that once a user clicks the button associated with the parameter that the search results are currently sorted by (the idea is to remove the sort) the search results stay “stuck” in the sorted order.
One thing to note is that I am able to successfully change the parameter to sort by after one has already been selected. For example, if I selected to sort by lowest price and then decide to sort by highest review score the search results do change their sort order correctly.
I have tried setting a conditional on the search results repeating group and got a strange error message. The conditional was successfully set (ie: no red lettering) but I did get an issue warning.
Also when testing this I got another error message after an excruciating long and failed progress attempt.
After this failed approach I decided to try setting the conditional to the following (see second condition)
This makes it so that the repeating group search results are empty when I select the button for sorting by the lowest price parameter.
So, the best I can get is as I currently have it set up in a workflow as seen below.
But again the issue remains that once a user has selected a parameter to sort by they are no longer able to remove the sort and are no longer able to select any parameters to filter by.
I am hoping to make the user experience as flawless as possible, which for me means they would be able to select some parameters to filter by (such as neighborhood), then sort by a parameter (such as lowest price) and then after that be able to select more parameters to filter by (such as property type or facilities) and then even be able to remove the sort parameter.
I have also made a copy of the app accessible and editable by all if anybody would like to have a crack at this.
https://bubble.io/page?name=index&id=hotel-listings-editable&tab=tabs-1
@NigelG @romanmg @dan1 @mente12 @luke2 @levon @sridharan.s @vincent56 @philnauta @emmanuel