fix query in Thelia\Model\Folder::countAllContents
This commit is contained in:
@@ -44,8 +44,8 @@ class Folder extends BaseFolder
|
|||||||
|
|
||||||
foreach($children as $child)
|
foreach($children as $child)
|
||||||
{
|
{
|
||||||
$contentsCount += ProductQuery::create()
|
$contentsCount += ContentQuery::create()
|
||||||
->filterByCategory($child)
|
->filterByFolder($child)
|
||||||
->count();
|
->count();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user