diff --git a/lib/cartodb/models/dataview/histograms/date-histogram.js b/lib/cartodb/models/dataview/histograms/date-histogram.js index 785d132a..af151a72 100644 --- a/lib/cartodb/models/dataview/histograms/date-histogram.js +++ b/lib/cartodb/models/dataview/histograms/date-histogram.js @@ -56,7 +56,7 @@ __wd_buckets AS ${ctx.query} ) __source, __wd_tz ${condition_str} - GROUP BY timestamp + GROUP BY timestamp, __wd_tz.name ),`; }