BF [ 1964542 ] Alerts: MAlert.getRules should be ordered

This commit is contained in:
teo_sarca 2008-05-15 12:28:52 +00:00
parent 0d82d31c79
commit 4373c65846
1 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,8 @@ public class MAlert extends X_AD_Alert
if (m_rules != null && !reload)
return m_rules;
String sql = "SELECT * FROM AD_AlertRule "
+ "WHERE AD_Alert_ID=?";
+ "WHERE AD_Alert_ID=?"
+ " ORDER BY Name, AD_AlertRule_ID";
ArrayList<MAlertRule> list = new ArrayList<MAlertRule>();
PreparedStatement pstmt = null;
ResultSet rs = null;