Skip to content

Commit

Permalink
Merge pull request #2873 from paradoxxxzero/ra-data-json-server-get-m…
Browse files Browse the repository at this point in the history
…any-patch

Fix GET_MANY in ra-data-json-server data provider returns too many results
  • Loading branch information
fzaninotto authored Feb 15, 2019
2 parents a8e44ce + 429c4b6 commit 459ba28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-data-json-server/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default (apiUrl, httpClient = fetchUtils.fetchJson) => {
break;
case GET_MANY: {
const query = {
[`id_like`]: params.ids.join('|'),
id: params.ids
};
url = `${apiUrl}/${resource}?${stringify(query)}`;
break;
Expand Down

0 comments on commit 459ba28

Please sign in to comment.