ERP5Catalog.CatalogTool: Move "parent" base category special-casing out of loop.
Also, do not use getBaseCategoryDict to avoid mutating cached value and use a set rather than a None-value dict. Also, access portal_categories from portal explicitly rather than relying on acquisition.
Showing
Please register or sign in to comment