Group by the right thing this time
This commit is contained in:
parent
43808f5510
commit
86d52e7bbc
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ sub post_supplier_history {
|
|||
total_spend => { sum => 'sales.value' },
|
||||
}
|
||||
],
|
||||
group_by => [ 'me.id', 'organisation.name' ],
|
||||
group_by => [ 'me.id', 'organisation.id' ],
|
||||
order_by => { '-asc' => 'organisation.name' },
|
||||
}
|
||||
);
|
||||
|
|
Reference in a new issue