{"action":"created","issue":{"url":"https://api.github.com/repos/ag-grid/ag-grid/issues/2275","repository_url":"https://api.github.com/repos/ag-grid/ag-grid","labels_url":"https://api.github.com/repos/ag-grid/ag-grid/issues/2275/labels{/name}","comments_url":"https://api.github.com/repos/ag-grid/ag-grid/issues/2275/comments","events_url":"https://api.github.com/repos/ag-grid/ag-grid/issues/2275/events","html_url":"https://github.com/ag-grid/ag-grid/issues/2275","id":308724409,"node_id":"MDU6SXNzdWUzMDg3MjQ0MDk=","number":2275,"title":"Infinite row model + enableServerSideSorting causes two requests initially","user":{"login":"egidijusj","id":5106211,"node_id":"MDQ6VXNlcjUxMDYyMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5106211?v=4","gravatar_id":"","url":"https://api.github.com/users/egidijusj","html_url":"https://github.com/egidijusj","followers_url":"https://api.github.com/users/egidijusj/followers","following_url":"https://api.github.com/users/egidijusj/following{/other_user}","gists_url":"https://api.github.com/users/egidijusj/gists{/gist_id}","starred_url":"https://api.github.com/users/egidijusj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egidijusj/subscriptions","organizations_url":"https://api.github.com/users/egidijusj/orgs","repos_url":"https://api.github.com/users/egidijusj/repos","events_url":"https://api.github.com/users/egidijusj/events{/privacy}","received_events_url":"https://api.github.com/users/egidijusj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-26T20:31:55Z","updated_at":"2018-06-05T18:51:25Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING\r\n-->\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[x] bug report => search github for a similar issue or PR before submitting\r\n[ ] feature request\r\n[ ] support request => Please do not submit support request here, instead see https://github.com/ceolter/ag-grid/blob/master/CONTRIBUTING.md#question\r\n```\r\n\r\n**Current behavior**\r\n<!-- Describe how the bug manifests. -->\r\nUsing `rowModelType=\"infinite\"` and `enableServerSideSorting=\"true\"` as AgGridReact props causes two requests to be issued initially one after another\r\n\r\n**Expected behavior**\r\n<!-- Describe what the behavior would be without the bug. -->\r\nShould issue single request to server initially\r\n\r\n**Minimal reproduction of the problem with instructions**\r\n<!--\r\nIf the current behavior is a bug or you can illustrate your feature request better with an example,\r\nplease provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via\r\nhttps://plnkr.co or similar (you can use this template as a starting point: https://plnkr.co/edit/369YrrgCVrnPjD528OtT).\r\n-->\r\nReproduced here: https://plnkr.co/edit/tnTK5S268p4SEfuJn3Il?p=preview\r\nThe header above the grid contains count of requests made.\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\n<!-- Describe the motivation or the concrete use case -->\r\nBug causes more load on server than is actually required\r\n\r\n**Please tell us about your environment:**\r\n<!-- Operating system, IDE, package manager, HTTP server, ... -->\r\nUbuntu\r\n\r\n* **ag-Grid version:** 17.0.0\r\n<!-- Check whether this is still an issue in the most recent ag-Grid version -->\r\n\r\n* **Browser:**\r\nMozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36\r\nMozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0\r\n\r\n* **Language:** all\r\n"},"comment":{"url":"https://api.github.com/repos/ag-grid/ag-grid/issues/comments/394820242","html_url":"https://github.com/ag-grid/ag-grid/issues/2275#issuecomment-394820242","issue_url":"https://api.github.com/repos/ag-grid/ag-grid/issues/2275","id":394820242,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDgyMDI0Mg==","user":{"login":"kakabomba","id":7964030,"node_id":"MDQ6VXNlcjc5NjQwMzA=","avatar_url":"https://avatars0.githubusercontent.com/u/7964030?v=4","gravatar_id":"","url":"https://api.github.com/users/kakabomba","html_url":"https://github.com/kakabomba","followers_url":"https://api.github.com/users/kakabomba/followers","following_url":"https://api.github.com/users/kakabomba/following{/other_user}","gists_url":"https://api.github.com/users/kakabomba/gists{/gist_id}","starred_url":"https://api.github.com/users/kakabomba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kakabomba/subscriptions","organizations_url":"https://api.github.com/users/kakabomba/orgs","repos_url":"https://api.github.com/users/kakabomba/repos","events_url":"https://api.github.com/users/kakabomba/events{/privacy}","received_events_url":"https://api.github.com/users/kakabomba/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T18:51:25Z","updated_at":"2018-06-05T18:51:25Z","author_association":"NONE","body":"same bug with angular component\r\n`\"ag-grid\": 17.1.1`\r\n`\"ag-grid-angular\": 17.1.0`\r\n\r\n"}}
{"actor":{"display_login":"kakabomba"}}