Add a simple search view function