You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make flat category collection (Mage_Catalog_Model_Resource_Category_Flat_Collection) more similar to eav collection (Mage_Catalog_Model_Resource_Category_Collection) , the method loadProductCount should also be implemented in the flat collection.
This helps developer avoid fatal errors when using method available in eav and then enabling flat catalog.
The method can just be copied around or added to the common ancestor class.
This discussion was converted from issue #560 on May 18, 2022 16:29.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To make flat category collection (
Mage_Catalog_Model_Resource_Category_Flat_Collection
) more similar to eav collection (Mage_Catalog_Model_Resource_Category_Collection
) , the methodloadProductCount
should also be implemented in the flat collection.This helps developer avoid fatal errors when using method available in eav and then enabling flat catalog.
The method can just be copied around or added to the common ancestor class.
Beta Was this translation helpful? Give feedback.
All reactions