pageAgents.clear();
pageCount = 0;
currentPage = 0;
UserSearchCriteria criteria = UserSearchCriteria.createCriteria();
if (!agentFirstName.isEmpty()) {
criteria.setFirstName(agentFirstName);
}
if (!agentLastName.isEmpty()) {
criteria.setLastName(agentLastName);
}
if (!agentParentName.isEmpty()) {
criteria.setParentName(agentParentName);
}
if (!officeName.isEmpty()) {
criteria.setOffice(officeName);
}
agents = agentService.findAgentByFLPandOffice(criteria);
if (!agents.isEmpty()) {