oops still using wrong column name

This commit is contained in:
Thomas Bloor 2019-09-09 16:44:05 +01:00
parent d484b342df
commit f89572e3de
No known key found for this signature in database
GPG key ID: 4657C7EBE42CC5CC

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