fixing function search at attendance list page