
|
If you were logged in you would be able to see more operations.
|
|
|
Click
Created: 28/May/08 12:45 PM
Updated: 28/May/08 04:07 PM
|
|
| Component/s: |
core
|
| Affects Version/s: |
1.5 M1
|
| Fix Version/s: |
1.5 M2
|
|
|
If a PropertySelect is assigned a select query with ordering, it will still apply ordering by option label as well, which may lead to duplicate columns in the ORDER BY clause.
PropertySelect.loadOptionList():
...
if (getSelectQuery() != null) {
SelectQuery query = getSelectQuery();
if (getOrdering() != null && !orderingApplied) {
query.addOrdering(getOrdering());
orderingApplied = true;
} else if (getOptionLabel() != null && !orderingApplied) {
query.addOrdering(getOptionLabel(), true);
orderingApplied = true;
}
...
|
|
Description
|
If a PropertySelect is assigned a select query with ordering, it will still apply ordering by option label as well, which may lead to duplicate columns in the ORDER BY clause.
PropertySelect.loadOptionList():
...
if (getSelectQuery() != null) {
SelectQuery query = getSelectQuery();
if (getOrdering() != null && !orderingApplied) {
query.addOrdering(getOrdering());
orderingApplied = true;
} else if (getOptionLabel() != null && !orderingApplied) {
query.addOrdering(getOptionLabel(), true);
orderingApplied = true;
}
... |
Show » |
|
There are no comments yet on this issue.
|
| |
|
|