oops still using wrong column name

This commit is contained in:
Thomas Bloor 2019-09-09 16:44:05 +01:00
parent 93191c10d2
commit cd8204a759

View file

@ -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',