BF [ 2788928 ] - FromDate does not work in MeasureCalc

This commit is contained in:
mjudd 2009-05-08 12:42:25 +00:00
parent 7a64b19464
commit fa69ebfcef
1 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ public class BarGraph extends CPanel implements ChartMouseListener
{ {
MMeasureCalc mc = MMeasureCalc.get(Env.getCtx(), measure.getPA_MeasureCalc_ID()); MMeasureCalc mc = MMeasureCalc.get(Env.getCtx(), measure.getPA_MeasureCalc_ID());
String sql = mc.getSqlBarChart(m_goal.getRestrictions(false), String sql = mc.getSqlBarChart(m_goal.getRestrictions(false),
m_goal.getMeasureDisplay(), null, m_goal.getMeasureDisplay(), m_goal.getDateFrom(),
MRole.getDefault()); // logged in role MRole.getDefault()); // logged in role
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
@ -234,7 +234,7 @@ public class BarGraph extends CPanel implements ChartMouseListener
MRequestType rt = MRequestType.get(Env.getCtx(), measure.getR_RequestType_ID()); MRequestType rt = MRequestType.get(Env.getCtx(), measure.getR_RequestType_ID());
String sql = rt.getSqlBarChart(m_goal.getRestrictions(false), String sql = rt.getSqlBarChart(m_goal.getRestrictions(false),
m_goal.getMeasureDisplay(), measure.getMeasureDataType(), m_goal.getMeasureDisplay(), measure.getMeasureDataType(),
null, MRole.getDefault()); // logged in role m_goal.getDateFrom(), MRole.getDefault()); // logged in role
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
try try
@ -276,7 +276,7 @@ public class BarGraph extends CPanel implements ChartMouseListener
MProjectType pt = MProjectType.get(Env.getCtx(), measure.getC_ProjectType_ID()); MProjectType pt = MProjectType.get(Env.getCtx(), measure.getC_ProjectType_ID());
String sql = pt.getSqlBarChart(m_goal.getRestrictions(false), String sql = pt.getSqlBarChart(m_goal.getRestrictions(false),
m_goal.getMeasureDisplay(), measure.getMeasureDataType(), m_goal.getMeasureDisplay(), measure.getMeasureDataType(),
null, MRole.getDefault()); // logged in role m_goal.getDateFrom(), MRole.getDefault()); // logged in role
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
try try