RWSN#38671 Sterker, waarom zouden we de ratio (%) kolom uberhaupt onderweg afronden.

svn path=/Website/trunk/; revision=32098
This commit is contained in:
Peter Feij
2016-12-22 10:18:52 +00:00
parent 0895508496
commit 61521585cd

View File

@@ -312,7 +312,7 @@ function report_GET(params)
if (params.columns.length == 1)
shared.simpel_page(L("lcl_empty_rstable"));
this.fields["scf_ratio"] = { dbs: "scf_ratio", sql: "ROUND(RATIO_TO_REPORT(COUNT(*)) OVER() *100, 4)", typ: "float", label: L("lcl_ratio"), orglabel: L("lcl_ratio"), total: true };
this.fields["scf_ratio"] = { dbs: "scf_ratio", sql: "RATIO_TO_REPORT(COUNT(*)) OVER() * 100", typ: "float", label: L("lcl_ratio"), orglabel: L("lcl_ratio"), total: true };
hasAggregate = true;
}
if (params.columns && params.groupby && params.groupby.length > 0)