myModel.put("begin", rowstart);
myModel.put("end", rowend);</BUG>
String orderProperty;
String sortOrder;
if (limit.getSort().getProperty() == null) {
<BUG>orderProperty = null;

sortOrder = "asc";
</BUG>
} else {

} else {
rowstart = ((limit.getPage() * getDefaultRowsDisplayed() + 1) - getDefaultRowsDisplayed());
rowend = getDefaultRowsDisplayed();
}
OnmsCriteria criteria = m_filterView.buildCriteria(request);
OnmsCriteria countCriteria = m_filterView.buildCriteria(request);
String orderProperty;
String sortOrder;
if (limit.getSort().getProperty() == null) {
orderProperty = "outageid";
sortOrder = "desc";
} else {
