Dashboard doesn't return full date range

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
snicto
Posts: 37
Joined: 12 Oct 2022, 14:00

Dashboard doesn't return full date range

Post by snicto » 16 Jan 2024, 15:27

Version: 2022.10

I need to extend the dashboard, but before I can do that, I came across that our dashboard is not returning all of data:

Image

The params seem to be sent with correct date range, but it gets lost into manager somehow:
"$view->param()"

Code: Select all

array(8) {
  ["site"]=>
  string(7) "default"
  ["resource"]=>
  string(5) "order"
  ["locale"]=>
  string(2) "en"
  ["aggregate"]=>
  string(33) "order.base.currencyid,order.cdate"
  ["filter"]=>
  array(1) {
    ["&&"]=>
    array(4) {
      [0]=>
      array(1) {
        [">="]=>
        array(1) {
          ["order.statuspayment"]=>
          string(1) "5"
        }
      }
      [1]=>
      array(1) {
        [">"]=>
        array(1) {
          ["order.ctime"]=>
          string(19) "2023-12-17T00:00:00"
        }
      }
      [2]=>
      array(1) {
        ["<="]=>
        array(1) {
          ["order.ctime"]=>
          string(19) "2024-01-16T23:59:59"
        }
      }
      [3]=>
      array(1) {
        ["||"]=>
        array(2) {
          [0]=>
          array(1) {
            ["=="]=>
            array(1) {
              ["order.base.product.statuspayment"]=>
              string(2) "-1"
            }
          }
          [1]=>
          array(1) {
            [">="]=>
            array(1) {
              ["order.base.product.statuspayment"]=>
              string(1) "5"
            }
          }
        }
      }
    }
  }
  ["sort"]=>
  string(12) "-order.ctime"
  ["value"]=>
  string(26) "order.base.product.total()"
  ["type"]=>
  string(3) "sum"
}
"$view->data"

Code: Select all

object(Aimeos\Map)#1851 (2) {
  ["list":protected]=>
  array(1) {
    ["EUR"]=>
    array(13) {
      ["2024-01-03"]=>
      float(8.99)
      ["2024-01-04"]=>
      float(149.98)
      ["2024-01-05"]=>
      float(100.96999999999998)
      ["2024-01-06"]=>
      float(26.99)
      ["2024-01-07"]=>
      float(19.99)
      ["2024-01-09"]=>
      float(53.99)
      ["2024-01-10"]=>
      float(75.98)
      ["2024-01-11"]=>
      float(242.95)
      ["2024-01-12"]=>
      float(184.95999999999998)
      ["2024-01-13"]=>
      float(76.98)
      ["2024-01-14"]=>
      float(175.98)
      ["2024-01-15"]=>
      float(48.97)
      ["2024-01-16"]=>
      float(67.98)
    }
  }
  ["sep":protected]=>
  string(1) "/"
}
What could be culprit for this wrong data? The base dashboard has not been altered in any way.