CB-1020 Resultset ordering fix

This commit is contained in:
Serge Rider
2021-07-05 15:14:34 +03:00
parent 575ef8a3e2
commit 084303fdc1
@@ -108,7 +108,7 @@ public class WebSQLDataFilter {
if (attribute == null) {
throw new DBException("Attribute '" + webConstr.getAttribute() + "' not found in '" + DBUtils.getObjectFullName(dataContainer, DBPEvaluationContext.UI) + "'");
}
dbConstraint = new DBDAttributeConstraint(attribute, -1);
dbConstraint = new DBDAttributeConstraint(attribute.getName(), -1);
} else {
dbConstraint = new DBDAttributeConstraint(webConstr.getAttribute(), -1);
}