FCLT#56936 2019.1 Groeperen op bv maand werkt niet in rapporten
svn path=/Website/trunk/; revision=41566
This commit is contained in:
@@ -508,7 +508,7 @@ api2 = {
|
||||
// Als filter een functie is dan de functie aanroepen.
|
||||
if (typeof filter == 'function')
|
||||
wheres.push(filter(safe_val));
|
||||
else if (field.sql && field.filterdefault == "")
|
||||
else if (field.sql && field.manual) // in case the field is added manually with a sql expression
|
||||
wheres.push(dbs.replace(dbsfld, '('+field.sql+')') + operand + safe_val);
|
||||
else
|
||||
wheres.push(dbs + operand + safe_val);
|
||||
|
||||
@@ -253,6 +253,7 @@ function model_reports(fac_usrrap_key)
|
||||
label: label,
|
||||
orglabel: label,
|
||||
fixedlabel: fixedlabel,
|
||||
manual: (usrrap.columns[i].expression ? true : false),
|
||||
sql: usrrap.columns[i].expression,
|
||||
typ: usrrap.columns[i].datatype.id,
|
||||
orgtyp: usrrap.columns[i].datatype.id,
|
||||
|
||||
Reference in New Issue
Block a user