From fa69ebfcefbb9c795f19facaa0de7de44f2e5752 Mon Sep 17 00:00:00 2001 From: mjudd Date: Fri, 8 May 2009 12:42:25 +0000 Subject: [PATCH] BF [ 2788928 ] - FromDate does not work in MeasureCalc --- client/src/org/adempiere/apps/graph/BarGraph.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/org/adempiere/apps/graph/BarGraph.java b/client/src/org/adempiere/apps/graph/BarGraph.java index fdee63617d..72b5b78cb5 100644 --- a/client/src/org/adempiere/apps/graph/BarGraph.java +++ b/client/src/org/adempiere/apps/graph/BarGraph.java @@ -137,7 +137,7 @@ public class BarGraph extends CPanel implements ChartMouseListener { MMeasureCalc mc = MMeasureCalc.get(Env.getCtx(), measure.getPA_MeasureCalc_ID()); String sql = mc.getSqlBarChart(m_goal.getRestrictions(false), - m_goal.getMeasureDisplay(), null, + m_goal.getMeasureDisplay(), m_goal.getDateFrom(), MRole.getDefault()); // logged in role PreparedStatement pstmt = 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()); String sql = rt.getSqlBarChart(m_goal.getRestrictions(false), m_goal.getMeasureDisplay(), measure.getMeasureDataType(), - null, MRole.getDefault()); // logged in role + m_goal.getDateFrom(), MRole.getDefault()); // logged in role PreparedStatement pstmt = null; ResultSet rs = null; try @@ -276,7 +276,7 @@ public class BarGraph extends CPanel implements ChartMouseListener MProjectType pt = MProjectType.get(Env.getCtx(), measure.getC_ProjectType_ID()); String sql = pt.getSqlBarChart(m_goal.getRestrictions(false), m_goal.getMeasureDisplay(), measure.getMeasureDataType(), - null, MRole.getDefault()); // logged in role + m_goal.getDateFrom(), MRole.getDefault()); // logged in role PreparedStatement pstmt = null; ResultSet rs = null; try