Changeset 5148
- Timestamp:
- Oct 20, 2009, 2:35:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/clients/web/net/sf/basedb/clients/web/ExperimentExplorer.java
r5147 r5148 877 877 { 878 878 // Find TableColumn to know which average method to use 879 boolean found = false; 880 for (TableColumn tc : selectionList) 879 if (!sortProperty.startsWith("%")) 881 880 { 882 if (sortProperty.equals(tc.getProperty())) 881 boolean found = false; 882 for (TableColumn tc : selectionList) 883 883 { 884 sortby = tc.getAverageMethod().getAverageExpression(sortby); 885 found = true; 886 break; 884 if (sortProperty.equals(tc.getProperty())) 885 { 886 sortby = tc.getAverageMethod().getAverageExpression(sortby); 887 found = true; 888 break; 889 } 887 890 } 891 if (!found) sortby = null; 892 } 893 else 894 { 895 sortby = avgMethod.getAverageExpression(sortby); 888 896 } 889 if (!found) sortby = null;890 897 } 891 898 if (sortby != null)
Note: See TracChangeset
for help on using the changeset viewer.