From 0a4c677798f0b7a19053af17bf8dd0ad28bcd77d Mon Sep 17 00:00:00 2001 From: Gildas Garcia Date: Fri, 14 Sep 2018 12:08:50 +0200 Subject: [PATCH] [RFR] Fix crudGetMatchingAccumulate not using relatedTo to build accumulateKey Fixes #2309 --- packages/ra-core/src/actions/accumulateActions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ra-core/src/actions/accumulateActions.js b/packages/ra-core/src/actions/accumulateActions.js index b806962febd..4774040f836 100644 --- a/packages/ra-core/src/actions/accumulateActions.js +++ b/packages/ra-core/src/actions/accumulateActions.js @@ -32,6 +32,7 @@ export const crudGetMatchingAccumulate = ( accumulateValues: () => true, accumulateKey: JSON.stringify({ resource: reference, + relatedTo: relatedTo, ...action.payload, }), },