BF [ 2807614 ] - InfoResource displays inactive resources

This BF prevents inactive records from being displayed in the resource selection combo
https://sourceforge.net/tracker/?func=detail&aid=2807614&group_id=176962&atid=879332
This commit is contained in:
mjudd 2009-06-17 09:38:21 +00:00
parent 6f76307c6c
commit c123e1fbbd
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ public class InfoSchedule extends CDialog
// Load Resources
m_loading = true;
fieldResource.removeAllItems();
String sql = "SELECT S_Resource_ID, Name FROM S_Resource WHERE S_ResourceType_ID=? ORDER BY 2";
String sql = "SELECT S_Resource_ID, Name FROM S_Resource WHERE IsActive='Y' AND S_ResourceType_ID=? ORDER BY 2";
PreparedStatement pstmt = null;
ResultSet rs = null;
try