iommirocks / iommi

Your first pick for a django power cord
http://iommi.rocks
BSD 3-Clause "New" or "Revised" License
761 stars 50 forks source link

How can i add initial filter to a table? #544

Closed ivkus closed 3 months ago

ivkus commented 3 months ago

I have a model that has a is_valid filed. I want to have the table show is_value=True in it's first appear in the page.

boxed commented 3 months ago

I added an entry in the cookbook that answers this question: https://docs.iommi.rocks/en/latest/cookbook_tables.html#how-do-i-set-an-initial-filter-to-a-table