search filter working on index page