Browser: Chrome 110 OS: macOS / Windows / Linux / etc. URL: Link to a page that illustrates this issue Video: Short screen recording that illustrates this issue (free tool: jam.dev)
Hello bricks team,
When we add a filter element, a record is added to the bricks_filters_element table in the database. But if we delete the element, the record remains and is not deleted. While this isn’t something that would easily impact performance, but it doesn’t seem to work as expected.
The table is updated as soon as you insert a new filter element. As far as I can see, it is not the case that all filter elements ever created remain as data corpses. So overall, no problem or bug
Yes, you are right. After adding a new filter on the same page, the database is updated. But if we don’t add a new filter, its record remains in the database, right?
For example, we use a filter on a page, but later we decide not to do it and delete the filter. After that, a filter record for that page will remain in the database.