IDEMPIERE-4861 : GenerateModel / Reference List / Use Value for ordering (#759)
This commit is contained in:
parent
361edea318
commit
ffc9bf12fb
|
@ -623,7 +623,7 @@ public class ModelClassGenerator
|
|||
.append(AD_Reference_ID);
|
||||
StringBuilder statement = new StringBuilder();
|
||||
//
|
||||
String sql = "SELECT Value, Name FROM AD_Ref_List WHERE AD_Reference_ID=? ORDER BY AD_Ref_List_ID";
|
||||
String sql = "SELECT Value, Name FROM AD_Ref_List WHERE AD_Reference_ID=? ORDER BY Value";
|
||||
PreparedStatement pstmt = null;
|
||||
ResultSet rs = null;
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue