Skip to content

Commit

Permalink
Bugfix pivot table with no groupby
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Dec 4, 2015
1 parent 6dc21c1 commit 1a62d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panoramix/templates/panoramix/viz_pivot_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
token.show();
}
else{
{% if viz.form_data.get('groupby')|length == 1 %}
{% if viz.form_data.get('groupby') and viz.form_data.get('groupby')|length == 1 %}
var table = token.find('table').DataTable({
paging: false,
searching: false,
Expand Down

0 comments on commit 1a62d5f

Please sign in to comment.