Categories Broken When More Than 101 Categories Defined


We've found a curious problem. Sometimes it's not possible to select a category in the product details (it's disabled) and when adding new category the 'localisation' (parent category) is disabled.

After some fiddling we realised the problem appears when crossing the limit of 101 categories!

Any ideas on what's happening?


I *think*, if memory serves me, that if the count of categories is greater than 100 that a picker is invoked rather than a select box.

Try in the config.php file increase values of the following constants

define('CATEGORY_THRESHOLD', 100);
define('CATEGORY_SHOW_ALL', 100);