{"action":"created","issue":{"url":"https://api.github.com/repos/translate/pootle/issues/3844","labels_url":"https://api.github.com/repos/translate/pootle/issues/3844/labels{/name}","comments_url":"https://api.github.com/repos/translate/pootle/issues/3844/comments","events_url":"https://api.github.com/repos/translate/pootle/issues/3844/events","html_url":"https://github.com/translate/pootle/pull/3844","id":89578437,"number":3844,"title":"Prevent raise EmptyResultSet","user":{"login":"cedk","id":836961,"avatar_url":"https://avatars.githubusercontent.com/u/836961?v=3","gravatar_id":"","url":"https://api.github.com/users/cedk","html_url":"https://github.com/cedk","followers_url":"https://api.github.com/users/cedk/followers","following_url":"https://api.github.com/users/cedk/following{/other_user}","gists_url":"https://api.github.com/users/cedk/gists{/gist_id}","starred_url":"https://api.github.com/users/cedk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedk/subscriptions","organizations_url":"https://api.github.com/users/cedk/orgs","repos_url":"https://api.github.com/users/cedk/repos","events_url":"https://api.github.com/users/cedk/events{/privacy}","received_events_url":"https://api.github.com/users/cedk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-19T14:30:05Z","updated_at":"2015-06-22T09:23:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/translate/pootle/pulls/3844","html_url":"https://github.com/translate/pootle/pull/3844","diff_url":"https://github.com/translate/pootle/pull/3844.diff","patch_url":"https://github.com/translate/pootle/pull/3844.patch"},"body":"When there are no ids matching in the indexer, the filter is against an empty list for which django raise an exception.\r\nSo we initialize the list with a fake id -1."},"comment":{"url":"https://api.github.com/repos/translate/pootle/issues/comments/114048919","html_url":"https://github.com/translate/pootle/pull/3844#issuecomment-114048919","issue_url":"https://api.github.com/repos/translate/pootle/issues/3844","id":114048919,"user":{"login":"unho","id":939880,"avatar_url":"https://avatars.githubusercontent.com/u/939880?v=3","gravatar_id":"","url":"https://api.github.com/users/unho","html_url":"https://github.com/unho","followers_url":"https://api.github.com/users/unho/followers","following_url":"https://api.github.com/users/unho/following{/other_user}","gists_url":"https://api.github.com/users/unho/gists{/gist_id}","starred_url":"https://api.github.com/users/unho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unho/subscriptions","organizations_url":"https://api.github.com/users/unho/orgs","repos_url":"https://api.github.com/users/unho/repos","events_url":"https://api.github.com/users/unho/events{/privacy}","received_events_url":"https://api.github.com/users/unho/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T09:23:50Z","updated_at":"2015-06-22T09:23:50Z","body":"@cedk First make sure you have some reference to previous status (the commits that are currently on this PR). Then read \"Squashing commits\" in https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History and http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html in case you have some trouble understanding. Then apply to your case and force push your changes so this PR gets updated."}}