From 108006aa731c419f0c7c96351ebd3e4c1f9f12c2 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 10 Sep 2013 18:40:49 +0530 Subject: [PATCH] [fix] [minor] build report columns --- public/js/wn/views/query_report.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/js/wn/views/query_report.js b/public/js/wn/views/query_report.js index 35cd3562f6..1e967848a7 100644 --- a/public/js/wn/views/query_report.js +++ b/public/js/wn/views/query_report.js @@ -188,9 +188,9 @@ wn.views.QueryReport = Class.extend({ if(c.indexOf(":")!=-1) { var opts = c.split(":"); var df = { - label: opts[0], - fieldtype: opts[1], - width: opts[2] + label: opts.slice(0, opts.length - 2).join(":"), + fieldtype: opts[opts.length - 2], + width: opts[opts.length - 1] } if(!df.fieldtype)