Author: nbelaevski
Date: 2010-07-15 15:03:30 -0400 (Thu, 15 Jul 2010)
New Revision: 18101
Modified:
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/component/UIColumn.java
Log:
https://jira.jboss.org/browse/RF-8879
https://jira.jboss.org/browse/RF-8940
Modified:
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/component/UIColumn.java
===================================================================
---
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/component/UIColumn.java 2010-07-15
18:46:51 UTC (rev 18100)
+++
root/ui/iteration/trunk/tables/ui/src/main/java/org/richfaces/component/UIColumn.java 2010-07-15
19:03:30 UTC (rev 18101)
@@ -49,7 +49,7 @@
}
public SortOrder getSortOrder() {
- return (SortOrder) getStateHelper().eval(PropertyKeys.sortOrder,
SortOrder.UNSORTED);
+ return (SortOrder) getStateHelper().eval(PropertyKeys.sortOrder,
SortOrder.unsorted);
}
public void setFilter(Filter<?> filter) {
@@ -89,7 +89,7 @@
public SortField getSortField() {
SortField field = null;
SortOrder sortOrder = getSortOrder();
- if (sortOrder != null && !SortOrder.UNSORTED.equals(sortOrder)) {
+ if (sortOrder != null && !SortOrder.unsorted.equals(sortOrder)) {
Comparator<?> comparator = getComparator();
ValueExpression sortBy = getValueExpression("sortBy");
if (comparator != null || sortBy != null) {