Make filters work together

Action: Display list in RG Ebook Resources
Do a search for Ebook Resources (constraint Resource Category is Dropdown Category’s value)

Exactly as you did on the sort buttons I believe.

That worked but it didn’t work with the other sorting.
How can I filter the ebook by “Social Media Marketing” and then sort those filtered ebooks by popular or latest. Is that possible?

Also, would you be able to help me setup Stripe.js through a paid consultation?

I can’t help with Stripe.js because I’ve never done it and I’m not a freelancer or agent just a person who mucks about on bubble building personal projects. Leave paying anyone for anything until the rest of your app is ready to go.

If you can wait a little while until I get back online I’ll answer about making your sorts work but in the meantime you can answer:

  1. When list is first loaded does it show all categories and how is it sorted?
  2. When user clicks a category what order do you want it sorted in - order in database, order user paste picked e.g. Popular or Latest, or something else?

I’m back. From what I can see, you are not sorting when you display the RG in the first place. You might want to consider sorting alphabetically by Title or providing icon buttons for A->Z and Z->A.

The workflow when the user selects from the Dropdown should do the Search for as we discussed above.

However, the workflows for the two buttons should not do Search for because you already have the records you need from they database. They are merely sorting the list you already have by a particular order so they should.

Popular Workflow:

  1. Set XXX’s custom state = Popular
  2. Display List RG Ebook Resources with Element=RG Ebook Resources and Data Source=RG Ebook Resources’s List of XXXXX:sorted by Upvote

Latest Workflow:

  1. Set XXX’s custom state = Latest
  2. Display List RG Ebook Resources with Element=RG Ebook Resources and Data Source=RG Ebook Resources’s List of XXXXX:sorted by Date

DropDown Workflow needs two actions:

  1. Do a Search for (as above) and in the Sort field sort by Date and in the Only When condition on that action have XXX’s custom state = Date
  2. Do a Search for (as above) and in the Sort field sort by Upvote and in the Only When condition on that action have XXX’s custom state = Upvote

That leaves you with no sort alphabetically but you can do that with some icon buttons.

You will also need to add a condition on the Conditional Tab of the Dropdown Search above so that if the Dropdown value is empty then it will return all items. Let me know how you get on.

1 Like

Sorry, I had to head out
Only When condition on that action have XXX’s custom state = Date

“=” is not showing up

If you can see the word ‘is’ that does the same thing