Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix default depth in coalesce_drilldown

  • Loading branch information...
commit bcc058b9472225a321758bf14e5aff76f11df341 1 parent 731ecce
@pracz pracz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cubes/backends/sql/star.py
View
4 cubes/backends/sql/star.py
@@ -824,8 +824,8 @@ def coalesce_drilldown(cell, drilldown):
index = hier.level_index(level)
result[dim.name] = hier[:index+1]
else:
- depth = depths.get(str(dim), 0)
- result[dim.name] = drilldown_levels(dim, depth+1)
+ depth = depths.get(str(dim), 1)
+ result[dim.name] = drilldown_levels(dim, depth)
return result

1 comment on commit bcc058b

@Stiivi

This should be fixed in changed method which is now "levels_from_drilldown".

Please sign in to comment.
Something went wrong with that request. Please try again.