{"action":"created","issue":{"url":"https://api.github.com/repos/marmelab/react-admin/issues/4234","repository_url":"https://api.github.com/repos/marmelab/react-admin","labels_url":"https://api.github.com/repos/marmelab/react-admin/issues/4234/labels{/name}","comments_url":"https://api.github.com/repos/marmelab/react-admin/issues/4234/comments","events_url":"https://api.github.com/repos/marmelab/react-admin/issues/4234/events","html_url":"https://github.com/marmelab/react-admin/issues/4234","id":544650000,"node_id":"MDU6SXNzdWU1NDQ2NTAwMDA=","number":4234,"title":"Query params change after saving resource","user":{"login":"go1dfish","id":818045,"node_id":"MDQ6VXNlcjgxODA0NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/818045?v=4","gravatar_id":"","url":"https://api.github.com/users/go1dfish","html_url":"https://github.com/go1dfish","followers_url":"https://api.github.com/users/go1dfish/followers","following_url":"https://api.github.com/users/go1dfish/following{/other_user}","gists_url":"https://api.github.com/users/go1dfish/gists{/gist_id}","starred_url":"https://api.github.com/users/go1dfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go1dfish/subscriptions","organizations_url":"https://api.github.com/users/go1dfish/orgs","repos_url":"https://api.github.com/users/go1dfish/repos","events_url":"https://api.github.com/users/go1dfish/events{/privacy}","received_events_url":"https://api.github.com/users/go1dfish/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2020-01-02T16:30:38Z","updated_at":"2020-01-06T16:34:22Z","closed_at":"2020-01-03T14:55:42Z","author_association":"NONE","body":"**What you were expecting:**\r\nIn my setup I have a side dialog to create a resource, so that the list is always displayed. If I change the query params (e.g. rows per page), then create a resource and save, the query params should still be there.\r\n\r\n**What happened instead:**\r\nThe query params were removed.\r\n\r\n**Steps to reproduce: / Related code:**\r\nI have an example here: https://codesandbox.io/s/react-admin-bug1-v0zex\r\n\r\n1. View posts\r\n2. Change rows per page to 25. Note query params.\r\n3. Click \"Add Station\"\r\n4. Fill in form and save\r\n5. All query params are removed\r\n\r\n**Environment**\r\n\r\n* React-admin version: 3.1.1\r\n* React version: 16.12.0"},"comment":{"url":"https://api.github.com/repos/marmelab/react-admin/issues/comments/571209379","html_url":"https://github.com/marmelab/react-admin/issues/4234#issuecomment-571209379","issue_url":"https://api.github.com/repos/marmelab/react-admin/issues/4234","id":571209379,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MTIwOTM3OQ==","user":{"login":"go1dfish","id":818045,"node_id":"MDQ6VXNlcjgxODA0NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/818045?v=4","gravatar_id":"","url":"https://api.github.com/users/go1dfish","html_url":"https://github.com/go1dfish","followers_url":"https://api.github.com/users/go1dfish/followers","following_url":"https://api.github.com/users/go1dfish/following{/other_user}","gists_url":"https://api.github.com/users/go1dfish/gists{/gist_id}","starred_url":"https://api.github.com/users/go1dfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go1dfish/subscriptions","organizations_url":"https://api.github.com/users/go1dfish/orgs","repos_url":"https://api.github.com/users/go1dfish/repos","events_url":"https://api.github.com/users/go1dfish/events{/privacy}","received_events_url":"https://api.github.com/users/go1dfish/received_events","type":"User","site_admin":false},"created_at":"2020-01-06T16:34:21Z","updated_at":"2020-01-06T16:34:21Z","author_association":"NONE","body":"I realize the problem was in my app I was refreshing the data based off the query params. When I instead grabbed those values from the redux store it worked. Thanks for looking into it!"}}
{"actor":{"display_login":"go1dfish"}}