FSN#41030 AiAi bij oproepen PIVOT rapport
svn path=/Website/trunk/; revision=37456
This commit is contained in:
@@ -542,7 +542,11 @@ function report_GET(params)
|
||||
|
||||
var maxcnt = params.filter.showall==1?S("qp_maxrows2"): (params.filter.ismobile?S("qp_maxrows_mobile"):S("qp_maxrows"));
|
||||
if (params.filter.scf_pivot == 1)
|
||||
{
|
||||
if (params.columns.length < 2)
|
||||
shared.simpel_page(L("lcl_scf_pivot_needs_2cols"));
|
||||
params.filter.nolimit = true;
|
||||
}
|
||||
var sql = "SELECT * FROM (" + sql + ")"
|
||||
+ (params.filter.nolimit? "" : " WHERE ROWNUM <= " + (maxcnt+1)); // Eentje extra om overflow-melding te triggeren in resultsettable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user