natecavanaugh/liferay-portal — pull request #836 by zberentey (2012-10-09 09:02:24+00:00)
Title: LPS-30092 [TECHNICAL SUPPORT]

Hi Nate, here is the final fix for the category tree. We need to modfy _findCategoryByName since it was not retrieving the corrent node and as a result not getting the category name at all. The tree now allows you to drop the node anywhere but if it's in the same level or there is already a category with the same name there it resets but gives you an error message so you know what's happening. When you drop a node on the parent of child level, it inserts it in the correct place based on its name (which is how we order categories in the backend). As you mentioned in your mail, we could probably support ordering categories in the backend, but it would be an improvement and very low priority. Thanks, Zsolt.