I get from my database a list of objects with attributes. So I want to make dynamics filters on the left depends of my list results.
For example, if i have an advertisement on “Paris” and “New York” i want to see Paris(1), New york (1) on the left. When you click on it, you will see just Paris’ advertisement or New york’s.
What is the best way to do that?
Thank you!
You need to use filters and Q objects.