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