{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/16844","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/16844/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/16844/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/16844/events","html_url":"https://github.com/yiisoft/yii2/pull/16844","id":375099494,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NjI0NTIy","number":16844,"title":"Update yii.gridView.js","user":{"login":"pvsaintpe","id":16900171,"node_id":"MDQ6VXNlcjE2OTAwMTcx","avatar_url":"https://avatars2.githubusercontent.com/u/16900171?v=4","gravatar_id":"","url":"https://api.github.com/users/pvsaintpe","html_url":"https://github.com/pvsaintpe","followers_url":"https://api.github.com/users/pvsaintpe/followers","following_url":"https://api.github.com/users/pvsaintpe/following{/other_user}","gists_url":"https://api.github.com/users/pvsaintpe/gists{/gist_id}","starred_url":"https://api.github.com/users/pvsaintpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvsaintpe/subscriptions","organizations_url":"https://api.github.com/users/pvsaintpe/orgs","repos_url":"https://api.github.com/users/pvsaintpe/repos","events_url":"https://api.github.com/users/pvsaintpe/events{/privacy}","received_events_url":"https://api.github.com/users/pvsaintpe/received_events","type":"User","site_admin":false},"labels":[{"id":496861903,"node_id":"MDU6TGFiZWw0OTY4NjE5MDM=","url":"https://api.github.com/repos/yiisoft/yii2/labels/JS","name":"JS","color":"006b75","default":false},{"id":473192305,"node_id":"MDU6TGFiZWw0NzMxOTIzMDU=","url":"https://api.github.com/repos/yiisoft/yii2/labels/pr:request%20for%20unit%20tests","name":"pr:request for unit tests","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-10-29T16:18:43Z","updated_at":"2018-10-30T10:41:23Z","closed_at":"2018-10-29T21:00:39Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/16844","html_url":"https://github.com/yiisoft/yii2/pull/16844","diff_url":"https://github.com/yiisoft/yii2/pull/16844.diff","patch_url":"https://github.com/yiisoft/yii2/pull/16844.patch"},"body":"If there are many filters in the GridView, then when changing any filter, all filters are sent by the GET method, we get the error: Url is too long. \r\nPlease use the changes I suggested to make the URLs shorter. \r\nThank.\r\n\r\n| Q             | A\r\n| ------------- | ---\r\n| Is bugfix?    | yes\r\n| New feature?  | yes\r\n| Tests pass?   | yes\r\n"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/434251758","html_url":"https://github.com/yiisoft/yii2/pull/16844#issuecomment-434251758","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/16844","id":434251758,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDI1MTc1OA==","user":{"login":"pvsaintpe","id":16900171,"node_id":"MDQ6VXNlcjE2OTAwMTcx","avatar_url":"https://avatars2.githubusercontent.com/u/16900171?v=4","gravatar_id":"","url":"https://api.github.com/users/pvsaintpe","html_url":"https://github.com/pvsaintpe","followers_url":"https://api.github.com/users/pvsaintpe/followers","following_url":"https://api.github.com/users/pvsaintpe/following{/other_user}","gists_url":"https://api.github.com/users/pvsaintpe/gists{/gist_id}","starred_url":"https://api.github.com/users/pvsaintpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvsaintpe/subscriptions","organizations_url":"https://api.github.com/users/pvsaintpe/orgs","repos_url":"https://api.github.com/users/pvsaintpe/repos","events_url":"https://api.github.com/users/pvsaintpe/events{/privacy}","received_events_url":"https://api.github.com/users/pvsaintpe/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T10:41:23Z","updated_at":"2018-10-30T10:41:23Z","author_association":"NONE","body":"> Did you tried to hide model name from URL by overriding `formName()` in search model to return empty string?\r\n\r\nYes, I'm tried.\r\n\r\nBut my client, for whom the application is being developed, wants grids in which there are more than 20-30 columns with horizontal scrolling and this does not solve the problem if I exclude the form name from the URL by redefining formName (), all the same we get an error with \"Url is too long. \"\r\n\r\nIt is in my application that only those filters that are changed should be sent to the URL. And if it were possible to make an option in yii.gridView.js, which would be thrown in js from yii \\ grid \\ GridView then it would be possible to use your components more flexibly."}}
{"actor":{"display_login":"pvsaintpe"}}