{"action":"created","issue":{"url":"https://api.github.com/repos/Mevrael/bunny/issues/11","repository_url":"https://api.github.com/repos/Mevrael/bunny","labels_url":"https://api.github.com/repos/Mevrael/bunny/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/Mevrael/bunny/issues/11/comments","events_url":"https://api.github.com/repos/Mevrael/bunny/issues/11/events","html_url":"https://github.com/Mevrael/bunny/issues/11","id":193639680,"number":11,"title":"Pagination buttons change location URL","user":{"login":"joebordes","id":1237191,"avatar_url":"https://avatars.githubusercontent.com/u/1237191?v=3","gravatar_id":"","url":"https://api.github.com/users/joebordes","html_url":"https://github.com/joebordes","followers_url":"https://api.github.com/users/joebordes/followers","following_url":"https://api.github.com/users/joebordes/following{/other_user}","gists_url":"https://api.github.com/users/joebordes/gists{/gist_id}","starred_url":"https://api.github.com/users/joebordes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joebordes/subscriptions","organizations_url":"https://api.github.com/users/joebordes/orgs","repos_url":"https://api.github.com/users/joebordes/repos","events_url":"https://api.github.com/users/joebordes/events{/privacy}","received_events_url":"https://api.github.com/users/joebordes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-05T23:22:02Z","updated_at":"2016-12-11T21:57:05Z","closed_at":null,"body":"I am testing the beta release.\r\nI have a datatable with pagination. On the previous release the page links would launch an ajax call and update the table , now those buttons, show the spinner, scroll to the top and update the URL in the browser location address. The first two new behaviors are fantastic but the URL update is a problem as it breaks the browser history and also gives a raw JSON output if you click on the \"reload\" browser button.\r\n\r\nCan we revert that behavior back so the address URL is not changed? Or is there a way of deactivating that on a per-project setting?"},"comment":{"url":"https://api.github.com/repos/Mevrael/bunny/issues/comments/266311168","html_url":"https://github.com/Mevrael/bunny/issues/11#issuecomment-266311168","issue_url":"https://api.github.com/repos/Mevrael/bunny/issues/11","id":266311168,"user":{"login":"Mevrael","id":7879528,"avatar_url":"https://avatars.githubusercontent.com/u/7879528?v=3","gravatar_id":"","url":"https://api.github.com/users/Mevrael","html_url":"https://github.com/Mevrael","followers_url":"https://api.github.com/users/Mevrael/followers","following_url":"https://api.github.com/users/Mevrael/following{/other_user}","gists_url":"https://api.github.com/users/Mevrael/gists{/gist_id}","starred_url":"https://api.github.com/users/Mevrael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mevrael/subscriptions","organizations_url":"https://api.github.com/users/Mevrael/orgs","repos_url":"https://api.github.com/users/Mevrael/repos","events_url":"https://api.github.com/users/Mevrael/events{/privacy}","received_events_url":"https://api.github.com/users/Mevrael/received_events","type":"User","site_admin":false},"created_at":"2016-12-11T21:57:05Z","updated_at":"2016-12-11T21:57:05Z","body":"Hi @joebordes \r\n\r\nSorry for a delayed update. Your issue solved in latest release **0.12.3**:\r\n\r\n## DataTable updated:\r\n\r\n* Fixed bug which was replacing current URL with AJAX URL, now current window.location.href is updated taking AJAX page and search params into account\r\n* On initial (1st page) URL is no more changed\r\n* Added search example into `examples/datatable/index.html`. `<input name=\"search\">` can be added within `<datatable>` which will add search=value GET param to AJAX request. Server may handle such requests and filter response data.\r\n* BunnyJS test API server will have a small delay on page=3 to test loader icon\r\n* Instead of history push state, replace state now used to allow user to use browser's back button\r\n* ScrollTop and SVG loader moved outside of DataTable and now are separate plugins:\r\n```html\r\n<script src=\"../../dist/utils-svg.min.js\"></script>\r\n<script src=\"../../dist/spinner.min.js\"></script>\r\n<script src=\"../../dist/datatable.icons.min.js\"></script>\r\n\r\n<script src=\"../../dist/element.min.js\"></script>\r\n<script src=\"../../dist/datatable.scrolltop.min.js\"></script>\r\n```\r\n\r\nIf you will have any questions or some of your issues were not solved, please let me know. If everything is ok for you, please close this issue."}}
{"actor":{"display_login":"Mevrael"}}