NOTE:
At the moment there is no way to pass extra params from R-A List component to the R-A dataProvider (coreBOSDataProvider), the only way to achieve this is using filter object which is passed to the dataProvider. Through this way I have passed relatedModule and moduleRelationType as among of the props of the filter and updating the dataProvider to handle M:M relation
NOTE: At the moment there is no way to pass extra params from R-A List component to the R-A dataProvider (coreBOSDataProvider), the only way to achieve this is using filter object which is passed to the dataProvider. Through this way I have passed relatedModule and moduleRelationType as among of the props of the filter and updating the dataProvider to handle M:M relation