details: https://code.openbravo.com/erp/devel/pi/rev/2785dcc9cf21
changeset: 18557:2785dcc9cf21
user: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date: Mon Nov 19 12:21:21 2012 +0100
summary: Fixes Issue 0022271: Sorting issue in selector popup.
In the selector pop-up sorting by descending was not working.
The last order by operator was removed when deleting additional comma.
diffstat:
modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
| 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 23d7cb966162 -r 2785dcc9cf21
modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
---
a/modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
Fri Nov 16 15:06:16 2012 +0100
+++
b/modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
Mon Nov 19 12:21:21 2012 +0100
@@ -397,7 +397,7 @@
}
// Delete last 2 characters: ", "
if (sortByClause.length() > 0) {
- sortByClause.delete(sortByClause.length() - 3, sortByClause.length() -
1);
+ sortByClause.delete(sortByClause.length() - 2, sortByClause.length() -
1);
}
}
String result = "";
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits