org-clock: Fix number of time columns in clock table
commit75e9fdac6c4f9b1b433c5bbdc734e4afb6c8bc1d
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 27 May 2017 16:12:38 +0000 (27 18:12 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 27 May 2017 16:12:38 +0000 (27 18:12 +0200)
tree3783df21f0a9b74a93438265fc4f2eca98668b16
parent2d29269bb1b9af08011e091913798b6598e4b156
org-clock: Fix number of time columns in clock table

* lisp/org-clock.el (org-clocktable-write-default): Limit number of
  time columns to the deepest headline level.

* testing/lisp/test-org-clock.el (test-org-clock/clocktable/maxlevel):
  Update tests.
lisp/org-clock.el
testing/lisp/test-org-clock.el