{"action":"created","comment":{"url":"https://api.github.com/repos/ding2/ting_material_details/pulls/comments/37972517","id":37972517,"diff_hunk":"@@ -457,6 +463,36 @@ function ting_material_details_field_formatter_view($entity_type, $entity, $fiel\n             '#markup' => $entity->serieDescription,\n           );\n           break;\n+\n+        case 'ting_details_is_part_of_search':\n+          $type = $uri = NULL;\n+          foreach ($entity->getRelations() as $relation) {\n+            $type = explode(':', $relation->getType());\n+            if ( isset($type[1]) && $type[1] == 'isPartOfManifestation' ) {\n+              $uri  = $relation->getURI();\n+            }","path":"ting_material_details.field.inc","position":null,"original_position":33,"commit_id":"1b8a45aec54d51df8c0fc855e1e1baf766b2cf11","original_commit_id":"1544afdba20ded01bd7d360d0c3aeb4adce04698","user":{"login":"kasperg","id":73966,"avatar_url":"https://avatars.githubusercontent.com/u/73966?v=3","gravatar_id":"","url":"https://api.github.com/users/kasperg","html_url":"https://github.com/kasperg","followers_url":"https://api.github.com/users/kasperg/followers","following_url":"https://api.github.com/users/kasperg/following{/other_user}","gists_url":"https://api.github.com/users/kasperg/gists{/gist_id}","starred_url":"https://api.github.com/users/kasperg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasperg/subscriptions","organizations_url":"https://api.github.com/users/kasperg/orgs","repos_url":"https://api.github.com/users/kasperg/repos","events_url":"https://api.github.com/users/kasperg/events{/privacy}","received_events_url":"https://api.github.com/users/kasperg/received_events","type":"User","site_admin":false},"body":"To be honest I don't know. I consider it on the same level as as the rest of the name changing or another relation appearing with the same name but with different semantics.\r\n\r\nAt least a comment somewhere would be nice. In the current form there is nothing that points to the fact that the type is/can be a namespaced string.","created_at":"2015-08-26T11:47:27Z","updated_at":"2015-08-26T11:47:27Z","html_url":"https://github.com/ding2/ting_material_details/pull/11#discussion_r37972517","pull_request_url":"https://api.github.com/repos/ding2/ting_material_details/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/ding2/ting_material_details/pulls/comments/37972517"},"html":{"href":"https://github.com/ding2/ting_material_details/pull/11#discussion_r37972517"},"pull_request":{"href":"https://api.github.com/repos/ding2/ting_material_details/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/ding2/ting_material_details/pulls/11","id":39362006,"html_url":"https://github.com/ding2/ting_material_details/pull/11","diff_url":"https://github.com/ding2/ting_material_details/pull/11.diff","patch_url":"https://github.com/ding2/ting_material_details/pull/11.patch","issue_url":"https://api.github.com/repos/ding2/ting_material_details/issues/11","number":11,"state":"open","locked":false,"title":"Issue #28 by JrgenGNielsen: add link to isPartOfManifestation fields","user":{"login":"JrgenGNielsen","id":623125,"avatar_url":"https://avatars.githubusercontent.com/u/623125?v=3","gravatar_id":"","url":"https://api.github.com/users/JrgenGNielsen","html_url":"https://github.com/JrgenGNielsen","followers_url":"https://api.github.com/users/JrgenGNielsen/followers","following_url":"https://api.github.com/users/JrgenGNielsen/following{/other_user}","gists_url":"https://api.github.com/users/JrgenGNielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/JrgenGNielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JrgenGNielsen/subscriptions","organizations_url":"https://api.github.com/users/JrgenGNielsen/orgs","repos_url":"https://api.github.com/users/JrgenGNielsen/repos","events_url":"https://api.github.com/users/JrgenGNielsen/events{/privacy}","received_events_url":"https://api.github.com/users/JrgenGNielsen/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-07T11:57:49Z","updated_at":"2015-08-26T11:47:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f62143a53cc9441dc102317c899e783cb0e408c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ding2/ting_material_details/pulls/11/commits","review_comments_url":"https://api.github.com/repos/ding2/ting_material_details/pulls/11/comments","review_comment_url":"https://api.github.com/repos/ding2/ting_material_details/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ding2/ting_material_details/issues/11/comments","statuses_url":"https://api.github.com/repos/ding2/ting_material_details/statuses/1b8a45aec54d51df8c0fc855e1e1baf766b2cf11","head":{"label":"JrgenGNielsen:feature/28-isPartOfManifestation_link","ref":"feature/28-isPartOfManifestation_link","sha":"1b8a45aec54d51df8c0fc855e1e1baf766b2cf11","user":{"login":"JrgenGNielsen","id":623125,"avatar_url":"https://avatars.githubusercontent.com/u/623125?v=3","gravatar_id":"","url":"https://api.github.com/users/JrgenGNielsen","html_url":"https://github.com/JrgenGNielsen","followers_url":"https://api.github.com/users/JrgenGNielsen/followers","following_url":"https://api.github.com/users/JrgenGNielsen/following{/other_user}","gists_url":"https://api.github.com/users/JrgenGNielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/JrgenGNielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JrgenGNielsen/subscriptions","organizations_url":"https://api.github.com/users/JrgenGNielsen/orgs","repos_url":"https://api.github.com/users/JrgenGNielsen/repos","events_url":"https://api.github.com/users/JrgenGNielsen/events{/privacy}","received_events_url":"https://api.github.com/users/JrgenGNielsen/received_events","type":"User","site_admin":false},"repo":{"id":38612868,"name":"ting_material_details","full_name":"JrgenGNielsen/ting_material_details","owner":{"login":"JrgenGNielsen","id":623125,"avatar_url":"https://avatars.githubusercontent.com/u/623125?v=3","gravatar_id":"","url":"https://api.github.com/users/JrgenGNielsen","html_url":"https://github.com/JrgenGNielsen","followers_url":"https://api.github.com/users/JrgenGNielsen/followers","following_url":"https://api.github.com/users/JrgenGNielsen/following{/other_user}","gists_url":"https://api.github.com/users/JrgenGNielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/JrgenGNielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JrgenGNielsen/subscriptions","organizations_url":"https://api.github.com/users/JrgenGNielsen/orgs","repos_url":"https://api.github.com/users/JrgenGNielsen/repos","events_url":"https://api.github.com/users/JrgenGNielsen/events{/privacy}","received_events_url":"https://api.github.com/users/JrgenGNielsen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JrgenGNielsen/ting_material_details","description":"","fork":true,"url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details","forks_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/forks","keys_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/teams","hooks_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/hooks","issue_events_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/issues/events{/number}","events_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/events","assignees_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/assignees{/user}","branches_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/branches{/branch}","tags_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/tags","blobs_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/git/refs{/sha}","trees_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/statuses/{sha}","languages_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/languages","stargazers_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/stargazers","contributors_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/contributors","subscribers_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/subscribers","subscription_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/subscription","commits_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/commits{/sha}","git_commits_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/git/commits{/sha}","comments_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/comments{/number}","issue_comment_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/issues/comments{/number}","contents_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/contents/{+path}","compare_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/merges","archive_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/downloads","issues_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/issues{/number}","pulls_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/pulls{/number}","milestones_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/milestones{/number}","notifications_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/labels{/name}","releases_url":"https://api.github.com/repos/JrgenGNielsen/ting_material_details/releases{/id}","created_at":"2015-07-06T10:44:20Z","updated_at":"2015-07-06T10:44:20Z","pushed_at":"2015-08-25T10:47:45Z","git_url":"git://github.com/JrgenGNielsen/ting_material_details.git","ssh_url":"git@github.com:JrgenGNielsen/ting_material_details.git","clone_url":"https://github.com/JrgenGNielsen/ting_material_details.git","svn_url":"https://github.com/JrgenGNielsen/ting_material_details","homepage":"","size":152,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ding2:master","ref":"master","sha":"a62442f0c047c27ac7027700626967f7087ef164","user":{"login":"ding2","id":564698,"avatar_url":"https://avatars.githubusercontent.com/u/564698?v=3","gravatar_id":"","url":"https://api.github.com/users/ding2","html_url":"https://github.com/ding2","followers_url":"https://api.github.com/users/ding2/followers","following_url":"https://api.github.com/users/ding2/following{/other_user}","gists_url":"https://api.github.com/users/ding2/gists{/gist_id}","starred_url":"https://api.github.com/users/ding2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ding2/subscriptions","organizations_url":"https://api.github.com/users/ding2/orgs","repos_url":"https://api.github.com/users/ding2/repos","events_url":"https://api.github.com/users/ding2/events{/privacy}","received_events_url":"https://api.github.com/users/ding2/received_events","type":"Organization","site_admin":false},"repo":{"id":2740317,"name":"ting_material_details","full_name":"ding2/ting_material_details","owner":{"login":"ding2","id":564698,"avatar_url":"https://avatars.githubusercontent.com/u/564698?v=3","gravatar_id":"","url":"https://api.github.com/users/ding2","html_url":"https://github.com/ding2","followers_url":"https://api.github.com/users/ding2/followers","following_url":"https://api.github.com/users/ding2/following{/other_user}","gists_url":"https://api.github.com/users/ding2/gists{/gist_id}","starred_url":"https://api.github.com/users/ding2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ding2/subscriptions","organizations_url":"https://api.github.com/users/ding2/orgs","repos_url":"https://api.github.com/users/ding2/repos","events_url":"https://api.github.com/users/ding2/events{/privacy}","received_events_url":"https://api.github.com/users/ding2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ding2/ting_material_details","description":"","fork":false,"url":"https://api.github.com/repos/ding2/ting_material_details","forks_url":"https://api.github.com/repos/ding2/ting_material_details/forks","keys_url":"https://api.github.com/repos/ding2/ting_material_details/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ding2/ting_material_details/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ding2/ting_material_details/teams","hooks_url":"https://api.github.com/repos/ding2/ting_material_details/hooks","issue_events_url":"https://api.github.com/repos/ding2/ting_material_details/issues/events{/number}","events_url":"https://api.github.com/repos/ding2/ting_material_details/events","assignees_url":"https://api.github.com/repos/ding2/ting_material_details/assignees{/user}","branches_url":"https://api.github.com/repos/ding2/ting_material_details/branches{/branch}","tags_url":"https://api.github.com/repos/ding2/ting_material_details/tags","blobs_url":"https://api.github.com/repos/ding2/ting_material_details/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ding2/ting_material_details/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ding2/ting_material_details/git/refs{/sha}","trees_url":"https://api.github.com/repos/ding2/ting_material_details/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ding2/ting_material_details/statuses/{sha}","languages_url":"https://api.github.com/repos/ding2/ting_material_details/languages","stargazers_url":"https://api.github.com/repos/ding2/ting_material_details/stargazers","contributors_url":"https://api.github.com/repos/ding2/ting_material_details/contributors","subscribers_url":"https://api.github.com/repos/ding2/ting_material_details/subscribers","subscription_url":"https://api.github.com/repos/ding2/ting_material_details/subscription","commits_url":"https://api.github.com/repos/ding2/ting_material_details/commits{/sha}","git_commits_url":"https://api.github.com/repos/ding2/ting_material_details/git/commits{/sha}","comments_url":"https://api.github.com/repos/ding2/ting_material_details/comments{/number}","issue_comment_url":"https://api.github.com/repos/ding2/ting_material_details/issues/comments{/number}","contents_url":"https://api.github.com/repos/ding2/ting_material_details/contents/{+path}","compare_url":"https://api.github.com/repos/ding2/ting_material_details/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ding2/ting_material_details/merges","archive_url":"https://api.github.com/repos/ding2/ting_material_details/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ding2/ting_material_details/downloads","issues_url":"https://api.github.com/repos/ding2/ting_material_details/issues{/number}","pulls_url":"https://api.github.com/repos/ding2/ting_material_details/pulls{/number}","milestones_url":"https://api.github.com/repos/ding2/ting_material_details/milestones{/number}","notifications_url":"https://api.github.com/repos/ding2/ting_material_details/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ding2/ting_material_details/labels{/name}","releases_url":"https://api.github.com/repos/ding2/ting_material_details/releases{/id}","created_at":"2011-11-09T08:42:48Z","updated_at":"2015-01-20T14:51:17Z","pushed_at":"2015-08-26T09:08:13Z","git_url":"git://github.com/ding2/ting_material_details.git","ssh_url":"git@github.com:ding2/ting_material_details.git","clone_url":"https://github.com/ding2/ting_material_details.git","svn_url":"https://github.com/ding2/ting_material_details","homepage":"","size":244,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":4,"forks":8,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ding2/ting_material_details/pulls/11"},"html":{"href":"https://github.com/ding2/ting_material_details/pull/11"},"issue":{"href":"https://api.github.com/repos/ding2/ting_material_details/issues/11"},"comments":{"href":"https://api.github.com/repos/ding2/ting_material_details/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/ding2/ting_material_details/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/ding2/ting_material_details/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ding2/ting_material_details/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/ding2/ting_material_details/statuses/1b8a45aec54d51df8c0fc855e1e1baf766b2cf11"}}}}