paginate for the supplier index, working properly