{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/11029","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11029/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11029/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11029/events","html_url":"https://github.com/joomla/joomla-cms/pull/11029","id":163916308,"number":11029,"title":"Clone the URI so we only manipulate it locally.","user":{"login":"Bakual","id":1018684,"avatar_url":"https://avatars.githubusercontent.com/u/1018684?v=3","gravatar_id":"","url":"https://api.github.com/users/Bakual","html_url":"https://github.com/Bakual","followers_url":"https://api.github.com/users/Bakual/followers","following_url":"https://api.github.com/users/Bakual/following{/other_user}","gists_url":"https://api.github.com/users/Bakual/gists{/gist_id}","starred_url":"https://api.github.com/users/Bakual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bakual/subscriptions","organizations_url":"https://api.github.com/users/Bakual/orgs","repos_url":"https://api.github.com/users/Bakual/repos","events_url":"https://api.github.com/users/Bakual/events{/privacy}","received_events_url":"https://api.github.com/users/Bakual/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-05T18:32:44Z","updated_at":"2016-07-06T06:28:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/11029","html_url":"https://github.com/joomla/joomla-cms/pull/11029","diff_url":"https://github.com/joomla/joomla-cms/pull/11029.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/11029.patch"},"body":"Pull Request for Issue #11016 .\r\n\r\n#### Summary of Changes\r\nCloning the JURI instance before we manipulate it in the vote plugin. This way, the adjusted query will only be used for the vote plugin and doesn't change the global object.\r\n\r\n#### Testing Instructions\r\nFrom original Issue:\r\n\r\n> Install a multilanguage site with the automatic installation that offers Joomla. 2 languages are enough.\r\nIn Articles Options set the parameter Show Voting on Show.\r\nIn frontend click on an article and then look the url generated when you go over flags.\r\n\r\n> If you click on the english article and then click on the english flag, you will see that the url change, \r\nat the end &hitcount=0 is added\r\n\r\nAfter applying the PR, the `&hitcount=0` isn't added anymore to the flag, but still is in the vote button."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/230683452","html_url":"https://github.com/joomla/joomla-cms/pull/11029#issuecomment-230683452","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11029","id":230683452,"user":{"login":"infograf768","id":869724,"avatar_url":"https://avatars.githubusercontent.com/u/869724?v=3","gravatar_id":"","url":"https://api.github.com/users/infograf768","html_url":"https://github.com/infograf768","followers_url":"https://api.github.com/users/infograf768/followers","following_url":"https://api.github.com/users/infograf768/following{/other_user}","gists_url":"https://api.github.com/users/infograf768/gists{/gist_id}","starred_url":"https://api.github.com/users/infograf768/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infograf768/subscriptions","organizations_url":"https://api.github.com/users/infograf768/orgs","repos_url":"https://api.github.com/users/infograf768/repos","events_url":"https://api.github.com/users/infograf768/events{/privacy}","received_events_url":"https://api.github.com/users/infograf768/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T06:28:06Z","updated_at":"2016-07-06T06:28:06Z","body":"@Bakual\r\nLooks like Travis is unhappy."}}
{"actor":{"display_login":"infograf768"}}