themeDisplay.getCompanyId(), keywords, Boolean.TRUE, null, start,
end, new ContactLastNameComparator(true));
int total = UserLocalServiceUtil.searchCount(
themeDisplay.getCompanyId(), keywords, Boolean.TRUE, null);
Object[] values = addSearchResults(
<BUG>keywords, startPage, itemsPerPage, total, null,
</BUG>
"Liferay Directory Search: " + keywords, SEARCH_PATH, themeDisplay);
<BUG>org.dom4j.Document doc = (org.dom4j.Document)values[1];

Element root = (Element)values[2];
</BUG>
for (User user : results) {

themeDisplay.getCompanyId(), keywords, Boolean.TRUE, null, start,
end, new ContactLastNameComparator(true));
int total = UserLocalServiceUtil.searchCount(
themeDisplay.getCompanyId(), keywords, Boolean.TRUE, null);
Object[] values = addSearchResults(
keywords, startPage, itemsPerPage, total, start,
"Liferay Directory Search: " + keywords, SEARCH_PATH, themeDisplay);
org.dom4j.Document doc = (org.dom4j.Document)values[0];
Element root = (Element)values[1];
for (User user : results) {
