FSN#32922 model herzien savepoint
svn path=/Website/trunk/; revision=25750
This commit is contained in:
@@ -127,7 +127,7 @@ function model_reportsx(usrrap_key, params)
|
||||
sql += ", fac_usrrap_cols_volgnr";
|
||||
|
||||
var json = api2.sql2json (params, sql, this);
|
||||
if (json.length == 1 && params.include && json[0].columns.length == 0)
|
||||
if (json.length == 1 && params.include && "columns" in params.include && json[0].columns.length == 0)
|
||||
{
|
||||
this.includes["columns"].model._view2columns(params.filter.id);
|
||||
var json = api2.sql2json (params, sql, this );
|
||||
|
||||
Reference in New Issue
Block a user