The harcoded "10" should be customizable via config file setting.
See in plugins/Actions/Actions.php
$limitLevelSubCategory = 10
(In ) Fixes #3102, added config setting 'action_category_level_limit' as replacement for Piwik_Actions::$limitLevelSubCategory constant.
Thanks for the change. It allows up to level 15, but in this case we would liket o really allow for more which some users will want to do for sure ;)
So I propose to add a setter on DataTable to increase the MAXIMUM_DEPTH_LEVEL_ALLOWED which should be changed to a private member.
This way it would work in all cases. We don't need to enforce an absolute max, users will be careful changing these values and know what risks they take (php memory exhausted error mainly)
(In ) Fixes #3102, removed upper limit for 'action_category_level_limit' config setting by making MAXIMUM_DEPTH_LEVEL_ALLOWED settable.
(In ) Refs #3102 removing unused function