reverted fix and did different fix to order_by
This commit is contained in:
parent
8e34f34bd6
commit
feeba76523
3 changed files with 5 additions and 17 deletions
|
@ -112,10 +112,7 @@ sub _purchases_avg_spend_duration {
|
|||
columns => [
|
||||
{
|
||||
quantised => 'quantised_days',
|
||||
count => $c->pg_or_sqlite(
|
||||
'count',
|
||||
"COUNT(*)",
|
||||
),
|
||||
count => \"COUNT(*)",
|
||||
sum_value => $c->pg_or_sqlite(
|
||||
'SUM("me"."value")',
|
||||
'SUM("me"."value")',
|
||||
|
|
Reference in a new issue