adds search/sort/pagination to team view