{"action":"created","issue":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/issues/1908","repository_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp","labels_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/issues/1908/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/issues/1908/comments","events_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/issues/1908/events","html_url":"https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/1908","id":362331810,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MDgxNjYw","number":1908,"title":"Closes #1907 Fix network error on clicking an empty category","user":{"login":"huzaifaiftikhar","id":10832531,"node_id":"MDQ6VXNlcjEwODMyNTMx","avatar_url":"https://avatars2.githubusercontent.com/u/10832531?v=4","gravatar_id":"","url":"https://api.github.com/users/huzaifaiftikhar","html_url":"https://github.com/huzaifaiftikhar","followers_url":"https://api.github.com/users/huzaifaiftikhar/followers","following_url":"https://api.github.com/users/huzaifaiftikhar/following{/other_user}","gists_url":"https://api.github.com/users/huzaifaiftikhar/gists{/gist_id}","starred_url":"https://api.github.com/users/huzaifaiftikhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huzaifaiftikhar/subscriptions","organizations_url":"https://api.github.com/users/huzaifaiftikhar/orgs","repos_url":"https://api.github.com/users/huzaifaiftikhar/repos","events_url":"https://api.github.com/users/huzaifaiftikhar/events{/privacy}","received_events_url":"https://api.github.com/users/huzaifaiftikhar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-20T19:28:29Z","updated_at":"2018-09-21T12:19:17Z","closed_at":"2018-09-21T12:19:13Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/pulls/1908","html_url":"https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/1908","diff_url":"https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/1908.diff","patch_url":"https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/1908.patch"},"body":"## Description\r\n- Checked the count of the obtained results. If it is zero then display \"no products found\" layout instead of \"no network layout\".\r\n- Also fixed a NPE which occurred when the category name was not found in the db, it resulted in NPE when trying to search for the tag belonging to that null category.\r\n\r\n## Related issues and discussion\r\nFixes #1907 \r\n \r\n ## Screen-shots, if any\r\n<kbd>![screenshot_20180921-004420](https://user-images.githubusercontent.com/10832531/45842108-5ca67b00-bd39-11e8-876a-3c0bc39ab1c0.png)</kbd>\r\n\r\n \r\n ## Checklist\r\n \r\nMake sure you've done all the following (You can delete the checklist before submitting)\r\n \r\n - [x] Apply the `AndroidStyle.xml` style template to your code in Android Studio.\r\n - [x] Code is well documented\r\n - [x] Include unit tests for new functionality\r\n - [x] All user-visible strings are made translatable\r\n - [x] Code passes Travis builds in your branch\r\n - [x] If you have multiple commits please combine them into one commit by squashing them.\r\n - [x] Read and understood the contribution guidelines.\r\n"},"comment":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/issues/comments/423512258","html_url":"https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/1908#issuecomment-423512258","issue_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/issues/1908","id":423512258,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzUxMjI1OA==","user":{"login":"PrajwalM2212","id":30733262,"node_id":"MDQ6VXNlcjMwNzMzMjYy","avatar_url":"https://avatars3.githubusercontent.com/u/30733262?v=4","gravatar_id":"","url":"https://api.github.com/users/PrajwalM2212","html_url":"https://github.com/PrajwalM2212","followers_url":"https://api.github.com/users/PrajwalM2212/followers","following_url":"https://api.github.com/users/PrajwalM2212/following{/other_user}","gists_url":"https://api.github.com/users/PrajwalM2212/gists{/gist_id}","starred_url":"https://api.github.com/users/PrajwalM2212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrajwalM2212/subscriptions","organizations_url":"https://api.github.com/users/PrajwalM2212/orgs","repos_url":"https://api.github.com/users/PrajwalM2212/repos","events_url":"https://api.github.com/users/PrajwalM2212/events{/privacy}","received_events_url":"https://api.github.com/users/PrajwalM2212/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T12:19:17Z","updated_at":"2018-09-21T12:19:17Z","author_association":"MEMBER","body":"@huzaifaiftikhar  Merging, Thanks for the PR. "}}
{"actor":{"display_login":"PrajwalM2212"}}