burnbright/silverstripe-shop — pull request #271 by webtorque7 (2014-07-23 09:22:55+00:00)
Title: Fix recursive ChildCategories on ProductCategory

ChildCategories was doing (ParentID = $this->ID) AND (ParentID in ($childIDs))
As a page can't have two parents, it fails to correctly load the child categories. Changed it to load the current id, and any child ids into an array and use this for the filter.