cart
cart copied to clipboard
widget TurnoverPerDay broken
Bug Report
Current Behavior The Widget TurnoverPerDay does not show any results all bars at 0
Environment
- TYPO3 version(s): 12.4
- cart version: 9.1
- Is your TYPO3 installation set up with Composer (Composer Mode): yes
Possible Solution fix Query in \Extcode\Cart\Widgets\Provider\TurnoverPerDayProvider::getOrderItemsInPeriod() The query return always 0 because fetchOne() will not return the array but the first item. Also the query is growing because the queryBuilder is not reset during every call in the for-loop.