oops still using wrong column name
This commit is contained in:
parent
d484b342df
commit
f89572e3de
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ sub post_supplier_count {
|
||||||
{
|
{
|
||||||
join => { 'seller' => 'organisation' },
|
join => { 'seller' => 'organisation' },
|
||||||
select => [
|
select => [
|
||||||
{ count => 'me.id', '-as' => 'count' },
|
{ count => 'me.value', '-as' => 'count' },
|
||||||
{ sum => 'me.value', '-as' => 'total_spend' },
|
{ sum => 'me.value', '-as' => 'total_spend' },
|
||||||
'organisation.name',
|
'organisation.name',
|
||||||
'me.quantised_days',
|
'me.quantised_days',
|
||||||
|
|
Reference in a new issue