IDEMPIERE-4834 : Import Formats are not ordered on Import File Loader (#723)
This commit is contained in:
parent
9f6232c50a
commit
fa7ddb7dd2
|
|
@ -80,7 +80,7 @@ public class WFileImport extends ADForm implements EventListener<Event>
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -5779187375101512112L;
|
private static final long serialVersionUID = -7462842139127270429L;
|
||||||
private static final int MAX_LOADED_LINES = 100;
|
private static final int MAX_LOADED_LINES = 100;
|
||||||
private static final int MAX_SHOWN_LINES = 10;
|
private static final int MAX_SHOWN_LINES = 10;
|
||||||
|
|
||||||
|
|
@ -241,7 +241,7 @@ public class WFileImport extends ADForm implements EventListener<Event>
|
||||||
// Load Formats
|
// Load Formats
|
||||||
pickFormat.appendItem(s_none, s_none);
|
pickFormat.appendItem(s_none, s_none);
|
||||||
|
|
||||||
String sql = MRole.getDefault().addAccessSQL("SELECT Name,AD_Impformat_ID FROM AD_ImpFormat WHERE isactive='Y'", "AD_ImpFormat",
|
String sql = MRole.getDefault().addAccessSQL("SELECT Name, AD_Impformat_ID FROM AD_ImpFormat WHERE IsActive='Y' ORDER BY Name", "AD_ImpFormat",
|
||||||
MRole.SQL_FULLYQUALIFIED, MRole.SQL_RO);
|
MRole.SQL_FULLYQUALIFIED, MRole.SQL_RO);
|
||||||
PreparedStatement pstmt = null;
|
PreparedStatement pstmt = null;
|
||||||
ResultSet rs = null;
|
ResultSet rs = null;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue