adds search filter to the table