custom attendance search