IDEMPIERE-1726 Error in report when there are filters (historical records)
This commit is contained in:
parent
9a1a4eb2ee
commit
20d2b7fdc3
|
@ -2006,8 +2006,8 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
|||
|
||||
if (null!=selectedHistoryItem && selectedHistoryItem.toString().length() > 0 && getHistoryDays(selectedHistoryValue) > 0)
|
||||
{
|
||||
StringBuilder where = new StringBuilder();
|
||||
where.append("Created >= ");
|
||||
StringBuilder where = new StringBuilder(m_tableName);
|
||||
where.append(".Created >= ");
|
||||
where.append("SysDate-").append(getHistoryDays(selectedHistoryValue));
|
||||
m_query.addRestriction(where.toString());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue