add bar rating to teacher result in search page