{"action":"opened","number":138,"pull_request":{"url":"https://api.github.com/repos/City-of-Helsinki/ltj/pulls/138","id":202836707,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyODM2NzA3","html_url":"https://github.com/City-of-Helsinki/ltj/pull/138","diff_url":"https://github.com/City-of-Helsinki/ltj/pull/138.diff","patch_url":"https://github.com/City-of-Helsinki/ltj/pull/138.patch","issue_url":"https://api.github.com/repos/City-of-Helsinki/ltj/issues/138","number":138,"state":"open","locked":false,"title":"Various reports improvements","user":{"login":"mingfeng","id":1997039,"node_id":"MDQ6VXNlcjE5OTcwMzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1997039?v=4","gravatar_id":"","url":"https://api.github.com/users/mingfeng","html_url":"https://github.com/mingfeng","followers_url":"https://api.github.com/users/mingfeng/followers","following_url":"https://api.github.com/users/mingfeng/following{/other_user}","gists_url":"https://api.github.com/users/mingfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/mingfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingfeng/subscriptions","organizations_url":"https://api.github.com/users/mingfeng/orgs","repos_url":"https://api.github.com/users/mingfeng/repos","events_url":"https://api.github.com/users/mingfeng/events{/privacy}","received_events_url":"https://api.github.com/users/mingfeng/received_events","type":"User","site_admin":false},"body":"This PR introduces various improvements on reports:\r\n\r\n- Add Aineistokuvaus link to feature report, the link url comes from feature class metadata field\r\n- Fix the label for observation description\r\n- Add transaction link to feature report transaction block\r\n- Add regulations and missing fields to feature observations report\r\n\r\nSome of the foreignkey fields (e.g. abundance, migration_class) may reference **empty objects** of the mode. These objects usually means the information are non-exist or irrelevant to the observation, and thus should not be displayed in the report\r\n\r\n![feature-observations-report](https://user-images.githubusercontent.com/1997039/43002758-97f05fba-8c32-11e8-9543-28989d82bacb.png)\r\n","created_at":"2018-07-20T12:36:04Z","updated_at":"2018-07-20T12:36:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/City-of-Helsinki/ltj/pulls/138/commits","review_comments_url":"https://api.github.com/repos/City-of-Helsinki/ltj/pulls/138/comments","review_comment_url":"https://api.github.com/repos/City-of-Helsinki/ltj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/City-of-Helsinki/ltj/issues/138/comments","statuses_url":"https://api.github.com/repos/City-of-Helsinki/ltj/statuses/c9a995f8283d48c1c69501da767b4c38b3eef68f","head":{"label":"mingfeng:reports-improvements","ref":"reports-improvements","sha":"c9a995f8283d48c1c69501da767b4c38b3eef68f","user":{"login":"mingfeng","id":1997039,"node_id":"MDQ6VXNlcjE5OTcwMzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1997039?v=4","gravatar_id":"","url":"https://api.github.com/users/mingfeng","html_url":"https://github.com/mingfeng","followers_url":"https://api.github.com/users/mingfeng/followers","following_url":"https://api.github.com/users/mingfeng/following{/other_user}","gists_url":"https://api.github.com/users/mingfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/mingfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingfeng/subscriptions","organizations_url":"https://api.github.com/users/mingfeng/orgs","repos_url":"https://api.github.com/users/mingfeng/repos","events_url":"https://api.github.com/users/mingfeng/events{/privacy}","received_events_url":"https://api.github.com/users/mingfeng/received_events","type":"User","site_admin":false},"repo":{"id":108259085,"node_id":"MDEwOlJlcG9zaXRvcnkxMDgyNTkwODU=","name":"ltj","full_name":"mingfeng/ltj","owner":{"login":"mingfeng","id":1997039,"node_id":"MDQ6VXNlcjE5OTcwMzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1997039?v=4","gravatar_id":"","url":"https://api.github.com/users/mingfeng","html_url":"https://github.com/mingfeng","followers_url":"https://api.github.com/users/mingfeng/followers","following_url":"https://api.github.com/users/mingfeng/following{/other_user}","gists_url":"https://api.github.com/users/mingfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/mingfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingfeng/subscriptions","organizations_url":"https://api.github.com/users/mingfeng/orgs","repos_url":"https://api.github.com/users/mingfeng/repos","events_url":"https://api.github.com/users/mingfeng/events{/privacy}","received_events_url":"https://api.github.com/users/mingfeng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mingfeng/ltj","description":"City of Helsinki nature database and API","fork":true,"url":"https://api.github.com/repos/mingfeng/ltj","forks_url":"https://api.github.com/repos/mingfeng/ltj/forks","keys_url":"https://api.github.com/repos/mingfeng/ltj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mingfeng/ltj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mingfeng/ltj/teams","hooks_url":"https://api.github.com/repos/mingfeng/ltj/hooks","issue_events_url":"https://api.github.com/repos/mingfeng/ltj/issues/events{/number}","events_url":"https://api.github.com/repos/mingfeng/ltj/events","assignees_url":"https://api.github.com/repos/mingfeng/ltj/assignees{/user}","branches_url":"https://api.github.com/repos/mingfeng/ltj/branches{/branch}","tags_url":"https://api.github.com/repos/mingfeng/ltj/tags","blobs_url":"https://api.github.com/repos/mingfeng/ltj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mingfeng/ltj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mingfeng/ltj/git/refs{/sha}","trees_url":"https://api.github.com/repos/mingfeng/ltj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mingfeng/ltj/statuses/{sha}","languages_url":"https://api.github.com/repos/mingfeng/ltj/languages","stargazers_url":"https://api.github.com/repos/mingfeng/ltj/stargazers","contributors_url":"https://api.github.com/repos/mingfeng/ltj/contributors","subscribers_url":"https://api.github.com/repos/mingfeng/ltj/subscribers","subscription_url":"https://api.github.com/repos/mingfeng/ltj/subscription","commits_url":"https://api.github.com/repos/mingfeng/ltj/commits{/sha}","git_commits_url":"https://api.github.com/repos/mingfeng/ltj/git/commits{/sha}","comments_url":"https://api.github.com/repos/mingfeng/ltj/comments{/number}","issue_comment_url":"https://api.github.com/repos/mingfeng/ltj/issues/comments{/number}","contents_url":"https://api.github.com/repos/mingfeng/ltj/contents/{+path}","compare_url":"https://api.github.com/repos/mingfeng/ltj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mingfeng/ltj/merges","archive_url":"https://api.github.com/repos/mingfeng/ltj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mingfeng/ltj/downloads","issues_url":"https://api.github.com/repos/mingfeng/ltj/issues{/number}","pulls_url":"https://api.github.com/repos/mingfeng/ltj/pulls{/number}","milestones_url":"https://api.github.com/repos/mingfeng/ltj/milestones{/number}","notifications_url":"https://api.github.com/repos/mingfeng/ltj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mingfeng/ltj/labels{/name}","releases_url":"https://api.github.com/repos/mingfeng/ltj/releases{/id}","deployments_url":"https://api.github.com/repos/mingfeng/ltj/deployments","created_at":"2017-10-25T11:10:26Z","updated_at":"2018-07-20T06:28:16Z","pushed_at":"2018-07-20T12:29:09Z","git_url":"git://github.com/mingfeng/ltj.git","ssh_url":"git@github.com:mingfeng/ltj.git","clone_url":"https://github.com/mingfeng/ltj.git","svn_url":"https://github.com/mingfeng/ltj","homepage":null,"size":363,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"City-of-Helsinki:master","ref":"master","sha":"6439e9a91263a44fae64a5b5d38d629c1f0244b5","user":{"login":"City-of-Helsinki","id":1875564,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NzU1NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1875564?v=4","gravatar_id":"","url":"https://api.github.com/users/City-of-Helsinki","html_url":"https://github.com/City-of-Helsinki","followers_url":"https://api.github.com/users/City-of-Helsinki/followers","following_url":"https://api.github.com/users/City-of-Helsinki/following{/other_user}","gists_url":"https://api.github.com/users/City-of-Helsinki/gists{/gist_id}","starred_url":"https://api.github.com/users/City-of-Helsinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/City-of-Helsinki/subscriptions","organizations_url":"https://api.github.com/users/City-of-Helsinki/orgs","repos_url":"https://api.github.com/users/City-of-Helsinki/repos","events_url":"https://api.github.com/users/City-of-Helsinki/events{/privacy}","received_events_url":"https://api.github.com/users/City-of-Helsinki/received_events","type":"Organization","site_admin":false},"repo":{"id":82935314,"node_id":"MDEwOlJlcG9zaXRvcnk4MjkzNTMxNA==","name":"ltj","full_name":"City-of-Helsinki/ltj","owner":{"login":"City-of-Helsinki","id":1875564,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NzU1NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1875564?v=4","gravatar_id":"","url":"https://api.github.com/users/City-of-Helsinki","html_url":"https://github.com/City-of-Helsinki","followers_url":"https://api.github.com/users/City-of-Helsinki/followers","following_url":"https://api.github.com/users/City-of-Helsinki/following{/other_user}","gists_url":"https://api.github.com/users/City-of-Helsinki/gists{/gist_id}","starred_url":"https://api.github.com/users/City-of-Helsinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/City-of-Helsinki/subscriptions","organizations_url":"https://api.github.com/users/City-of-Helsinki/orgs","repos_url":"https://api.github.com/users/City-of-Helsinki/repos","events_url":"https://api.github.com/users/City-of-Helsinki/events{/privacy}","received_events_url":"https://api.github.com/users/City-of-Helsinki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/City-of-Helsinki/ltj","description":"City of Helsinki nature database and API","fork":false,"url":"https://api.github.com/repos/City-of-Helsinki/ltj","forks_url":"https://api.github.com/repos/City-of-Helsinki/ltj/forks","keys_url":"https://api.github.com/repos/City-of-Helsinki/ltj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/City-of-Helsinki/ltj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/City-of-Helsinki/ltj/teams","hooks_url":"https://api.github.com/repos/City-of-Helsinki/ltj/hooks","issue_events_url":"https://api.github.com/repos/City-of-Helsinki/ltj/issues/events{/number}","events_url":"https://api.github.com/repos/City-of-Helsinki/ltj/events","assignees_url":"https://api.github.com/repos/City-of-Helsinki/ltj/assignees{/user}","branches_url":"https://api.github.com/repos/City-of-Helsinki/ltj/branches{/branch}","tags_url":"https://api.github.com/repos/City-of-Helsinki/ltj/tags","blobs_url":"https://api.github.com/repos/City-of-Helsinki/ltj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/City-of-Helsinki/ltj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/City-of-Helsinki/ltj/git/refs{/sha}","trees_url":"https://api.github.com/repos/City-of-Helsinki/ltj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/City-of-Helsinki/ltj/statuses/{sha}","languages_url":"https://api.github.com/repos/City-of-Helsinki/ltj/languages","stargazers_url":"https://api.github.com/repos/City-of-Helsinki/ltj/stargazers","contributors_url":"https://api.github.com/repos/City-of-Helsinki/ltj/contributors","subscribers_url":"https://api.github.com/repos/City-of-Helsinki/ltj/subscribers","subscription_url":"https://api.github.com/repos/City-of-Helsinki/ltj/subscription","commits_url":"https://api.github.com/repos/City-of-Helsinki/ltj/commits{/sha}","git_commits_url":"https://api.github.com/repos/City-of-Helsinki/ltj/git/commits{/sha}","comments_url":"https://api.github.com/repos/City-of-Helsinki/ltj/comments{/number}","issue_comment_url":"https://api.github.com/repos/City-of-Helsinki/ltj/issues/comments{/number}","contents_url":"https://api.github.com/repos/City-of-Helsinki/ltj/contents/{+path}","compare_url":"https://api.github.com/repos/City-of-Helsinki/ltj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/City-of-Helsinki/ltj/merges","archive_url":"https://api.github.com/repos/City-of-Helsinki/ltj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/City-of-Helsinki/ltj/downloads","issues_url":"https://api.github.com/repos/City-of-Helsinki/ltj/issues{/number}","pulls_url":"https://api.github.com/repos/City-of-Helsinki/ltj/pulls{/number}","milestones_url":"https://api.github.com/repos/City-of-Helsinki/ltj/milestones{/number}","notifications_url":"https://api.github.com/repos/City-of-Helsinki/ltj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/City-of-Helsinki/ltj/labels{/name}","releases_url":"https://api.github.com/repos/City-of-Helsinki/ltj/releases{/id}","deployments_url":"https://api.github.com/repos/City-of-Helsinki/ltj/deployments","created_at":"2017-02-23T14:30:12Z","updated_at":"2018-07-19T12:55:51Z","pushed_at":"2018-07-19T12:55:49Z","git_url":"git://github.com/City-of-Helsinki/ltj.git","ssh_url":"git@github.com:City-of-Helsinki/ltj.git","clone_url":"https://github.com/City-of-Helsinki/ltj.git","svn_url":"https://github.com/City-of-Helsinki/ltj","homepage":null,"size":363,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":3,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/City-of-Helsinki/ltj/pulls/138"},"html":{"href":"https://github.com/City-of-Helsinki/ltj/pull/138"},"issue":{"href":"https://api.github.com/repos/City-of-Helsinki/ltj/issues/138"},"comments":{"href":"https://api.github.com/repos/City-of-Helsinki/ltj/issues/138/comments"},"review_comments":{"href":"https://api.github.com/repos/City-of-Helsinki/ltj/pulls/138/comments"},"review_comment":{"href":"https://api.github.com/repos/City-of-Helsinki/ltj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/City-of-Helsinki/ltj/pulls/138/commits"},"statuses":{"href":"https://api.github.com/repos/City-of-Helsinki/ltj/statuses/c9a995f8283d48c1c69501da767b4c38b3eef68f"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":8,"additions":225,"deletions":78,"changed_files":6}}
{"actor":{"display_login":"mingfeng"}}