oops still using wrong column name
This commit is contained in:
parent
93191c10d2
commit
cd8204a759
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