cart icon indicating copy to clipboard operation
cart copied to clipboard

widget TurnoverPerDay broken

Open johfeu opened this issue 1 year ago • 0 comments

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.

johfeu avatar Jan 10 '25 13:01 johfeu