[TYPO3-commerce] RFC Bug #40913 - Performance in pibase / Bugfix
Georg Schönweger
georg.schoenweger at gmail.com
Thu Sep 13 16:47:11 CEST 2012
This is an SVN Patch request
Type: Bugfix
Bugtracker reference: http://forge.typo3.org/issues/40913
Branches: trunk
Problem:
alls to $category->getAllProducts($depth); ignores the $depth parameter;
it will always search the whole sub-categorytree. see attached patch.
In pibase when grouping subcategories (groupProductsByCategory=1),
getAllProducts gets called twice AND there is no possibility to define
how many levels it should search in the category three. Attached patch
adds new TS var "groupProductsByCategoryMaxDepth".
Solution:
see patch
Additional Notes:
regards,
Georg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commerce_pibase_performance.patch
Type: text/x-diff
Size: 2852 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-commerce/attachments/20120913/13bd3275/attachment.patch>
More information about the TYPO3-team-commerce
mailing list