{"action":"created","comment":{"url":"https://api.github.com/repos/InfotelGLPI/resources/pulls/comments/216336608","pull_request_review_id":153792658,"id":216336608,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjMzNjYwOA==","diff_hunk":"@@ -507,6 +507,24 @@ function rawSearchOptions() {\n                                'joinparams' => ['jointype'=>'child']]]\n          ];\n       }\n+      if ($config->useImportExternalDatas()) {\n+         $tab[] = [\n+            'id'       => '36',\n+            'table'    => 'glpi_plugin_resources_resources',\n+            'field'    => 'matricule_External',\n+            'name'     => __('Registration number External', 'resources'),\n+            'datatype' => 'text',\n+            'massiveaction'=>false\n+         ];\n+         $tab[] = [\n+            'id'       => '37',\n+            'table'    => 'glpi_plugin_resources_resources',\n+            'field'    => 'id_External',","path":"inc/resource.class.php","position":16,"original_position":16,"commit_id":"e5862c43f4a1be00e157489294c725bb13940259","original_commit_id":"e5862c43f4a1be00e157489294c725bb13940259","user":{"login":"amma35","id":15138371,"node_id":"MDQ6VXNlcjE1MTM4Mzcx","avatar_url":"https://avatars2.githubusercontent.com/u/15138371?v=4","gravatar_id":"","url":"https://api.github.com/users/amma35","html_url":"https://github.com/amma35","followers_url":"https://api.github.com/users/amma35/followers","following_url":"https://api.github.com/users/amma35/following{/other_user}","gists_url":"https://api.github.com/users/amma35/gists{/gist_id}","starred_url":"https://api.github.com/users/amma35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amma35/subscriptions","organizations_url":"https://api.github.com/users/amma35/orgs","repos_url":"https://api.github.com/users/amma35/repos","events_url":"https://api.github.com/users/amma35/events{/privacy}","received_events_url":"https://api.github.com/users/amma35/received_events","type":"User","site_admin":false},"body":"The field name must be in lower case\r\nuse id_external","created_at":"2018-09-10T14:12:14Z","updated_at":"2018-09-10T14:19:12Z","html_url":"https://github.com/InfotelGLPI/resources/pull/77#discussion_r216336608","pull_request_url":"https://api.github.com/repos/InfotelGLPI/resources/pulls/77","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/InfotelGLPI/resources/pulls/comments/216336608"},"html":{"href":"https://github.com/InfotelGLPI/resources/pull/77#discussion_r216336608"},"pull_request":{"href":"https://api.github.com/repos/InfotelGLPI/resources/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/InfotelGLPI/resources/pulls/77","id":214318986,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MzE4OTg2","html_url":"https://github.com/InfotelGLPI/resources/pull/77","diff_url":"https://github.com/InfotelGLPI/resources/pull/77.diff","patch_url":"https://github.com/InfotelGLPI/resources/pull/77.patch","issue_url":"https://api.github.com/repos/InfotelGLPI/resources/issues/77","number":77,"state":"open","locked":false,"title":"Add import external datas","user":{"login":"keha35","id":39367117,"node_id":"MDQ6VXNlcjM5MzY3MTE3","avatar_url":"https://avatars0.githubusercontent.com/u/39367117?v=4","gravatar_id":"","url":"https://api.github.com/users/keha35","html_url":"https://github.com/keha35","followers_url":"https://api.github.com/users/keha35/followers","following_url":"https://api.github.com/users/keha35/following{/other_user}","gists_url":"https://api.github.com/users/keha35/gists{/gist_id}","starred_url":"https://api.github.com/users/keha35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keha35/subscriptions","organizations_url":"https://api.github.com/users/keha35/orgs","repos_url":"https://api.github.com/users/keha35/repos","events_url":"https://api.github.com/users/keha35/events{/privacy}","received_events_url":"https://api.github.com/users/keha35/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-10T13:43:29Z","updated_at":"2018-09-10T14:19:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2b620888b913d1fb325294d0d6d38baa161b1e3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/InfotelGLPI/resources/pulls/77/commits","review_comments_url":"https://api.github.com/repos/InfotelGLPI/resources/pulls/77/comments","review_comment_url":"https://api.github.com/repos/InfotelGLPI/resources/pulls/comments{/number}","comments_url":"https://api.github.com/repos/InfotelGLPI/resources/issues/77/comments","statuses_url":"https://api.github.com/repos/InfotelGLPI/resources/statuses/e5862c43f4a1be00e157489294c725bb13940259","head":{"label":"keha35:master","ref":"master","sha":"e5862c43f4a1be00e157489294c725bb13940259","user":{"login":"keha35","id":39367117,"node_id":"MDQ6VXNlcjM5MzY3MTE3","avatar_url":"https://avatars0.githubusercontent.com/u/39367117?v=4","gravatar_id":"","url":"https://api.github.com/users/keha35","html_url":"https://github.com/keha35","followers_url":"https://api.github.com/users/keha35/followers","following_url":"https://api.github.com/users/keha35/following{/other_user}","gists_url":"https://api.github.com/users/keha35/gists{/gist_id}","starred_url":"https://api.github.com/users/keha35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keha35/subscriptions","organizations_url":"https://api.github.com/users/keha35/orgs","repos_url":"https://api.github.com/users/keha35/repos","events_url":"https://api.github.com/users/keha35/events{/privacy}","received_events_url":"https://api.github.com/users/keha35/received_events","type":"User","site_admin":false},"repo":{"id":147832255,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4MzIyNTU=","name":"resources","full_name":"keha35/resources","owner":{"login":"keha35","id":39367117,"node_id":"MDQ6VXNlcjM5MzY3MTE3","avatar_url":"https://avatars0.githubusercontent.com/u/39367117?v=4","gravatar_id":"","url":"https://api.github.com/users/keha35","html_url":"https://github.com/keha35","followers_url":"https://api.github.com/users/keha35/followers","following_url":"https://api.github.com/users/keha35/following{/other_user}","gists_url":"https://api.github.com/users/keha35/gists{/gist_id}","starred_url":"https://api.github.com/users/keha35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keha35/subscriptions","organizations_url":"https://api.github.com/users/keha35/orgs","repos_url":"https://api.github.com/users/keha35/repos","events_url":"https://api.github.com/users/keha35/events{/privacy}","received_events_url":"https://api.github.com/users/keha35/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/keha35/resources","description":"Plugin resources for GLPI","fork":true,"url":"https://api.github.com/repos/keha35/resources","forks_url":"https://api.github.com/repos/keha35/resources/forks","keys_url":"https://api.github.com/repos/keha35/resources/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keha35/resources/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keha35/resources/teams","hooks_url":"https://api.github.com/repos/keha35/resources/hooks","issue_events_url":"https://api.github.com/repos/keha35/resources/issues/events{/number}","events_url":"https://api.github.com/repos/keha35/resources/events","assignees_url":"https://api.github.com/repos/keha35/resources/assignees{/user}","branches_url":"https://api.github.com/repos/keha35/resources/branches{/branch}","tags_url":"https://api.github.com/repos/keha35/resources/tags","blobs_url":"https://api.github.com/repos/keha35/resources/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keha35/resources/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keha35/resources/git/refs{/sha}","trees_url":"https://api.github.com/repos/keha35/resources/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keha35/resources/statuses/{sha}","languages_url":"https://api.github.com/repos/keha35/resources/languages","stargazers_url":"https://api.github.com/repos/keha35/resources/stargazers","contributors_url":"https://api.github.com/repos/keha35/resources/contributors","subscribers_url":"https://api.github.com/repos/keha35/resources/subscribers","subscription_url":"https://api.github.com/repos/keha35/resources/subscription","commits_url":"https://api.github.com/repos/keha35/resources/commits{/sha}","git_commits_url":"https://api.github.com/repos/keha35/resources/git/commits{/sha}","comments_url":"https://api.github.com/repos/keha35/resources/comments{/number}","issue_comment_url":"https://api.github.com/repos/keha35/resources/issues/comments{/number}","contents_url":"https://api.github.com/repos/keha35/resources/contents/{+path}","compare_url":"https://api.github.com/repos/keha35/resources/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keha35/resources/merges","archive_url":"https://api.github.com/repos/keha35/resources/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keha35/resources/downloads","issues_url":"https://api.github.com/repos/keha35/resources/issues{/number}","pulls_url":"https://api.github.com/repos/keha35/resources/pulls{/number}","milestones_url":"https://api.github.com/repos/keha35/resources/milestones{/number}","notifications_url":"https://api.github.com/repos/keha35/resources/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keha35/resources/labels{/name}","releases_url":"https://api.github.com/repos/keha35/resources/releases{/id}","deployments_url":"https://api.github.com/repos/keha35/resources/deployments","created_at":"2018-09-07T14:10:10Z","updated_at":"2018-09-10T13:28:21Z","pushed_at":"2018-09-10T14:04:00Z","git_url":"git://github.com/keha35/resources.git","ssh_url":"git@github.com:keha35/resources.git","clone_url":"https://github.com/keha35/resources.git","svn_url":"https://github.com/keha35/resources","homepage":"http://blogglpi.infotel.com","size":2667,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"InfotelGLPI:master","ref":"master","sha":"2a830213d3ad41d55758a751b0f494ccf466f309","user":{"login":"InfotelGLPI","id":13217358,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMjE3MzU4","avatar_url":"https://avatars2.githubusercontent.com/u/13217358?v=4","gravatar_id":"","url":"https://api.github.com/users/InfotelGLPI","html_url":"https://github.com/InfotelGLPI","followers_url":"https://api.github.com/users/InfotelGLPI/followers","following_url":"https://api.github.com/users/InfotelGLPI/following{/other_user}","gists_url":"https://api.github.com/users/InfotelGLPI/gists{/gist_id}","starred_url":"https://api.github.com/users/InfotelGLPI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InfotelGLPI/subscriptions","organizations_url":"https://api.github.com/users/InfotelGLPI/orgs","repos_url":"https://api.github.com/users/InfotelGLPI/repos","events_url":"https://api.github.com/users/InfotelGLPI/events{/privacy}","received_events_url":"https://api.github.com/users/InfotelGLPI/received_events","type":"Organization","site_admin":false},"repo":{"id":39244004,"node_id":"MDEwOlJlcG9zaXRvcnkzOTI0NDAwNA==","name":"resources","full_name":"InfotelGLPI/resources","owner":{"login":"InfotelGLPI","id":13217358,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMjE3MzU4","avatar_url":"https://avatars2.githubusercontent.com/u/13217358?v=4","gravatar_id":"","url":"https://api.github.com/users/InfotelGLPI","html_url":"https://github.com/InfotelGLPI","followers_url":"https://api.github.com/users/InfotelGLPI/followers","following_url":"https://api.github.com/users/InfotelGLPI/following{/other_user}","gists_url":"https://api.github.com/users/InfotelGLPI/gists{/gist_id}","starred_url":"https://api.github.com/users/InfotelGLPI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InfotelGLPI/subscriptions","organizations_url":"https://api.github.com/users/InfotelGLPI/orgs","repos_url":"https://api.github.com/users/InfotelGLPI/repos","events_url":"https://api.github.com/users/InfotelGLPI/events{/privacy}","received_events_url":"https://api.github.com/users/InfotelGLPI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/InfotelGLPI/resources","description":"Plugin resources for GLPI","fork":false,"url":"https://api.github.com/repos/InfotelGLPI/resources","forks_url":"https://api.github.com/repos/InfotelGLPI/resources/forks","keys_url":"https://api.github.com/repos/InfotelGLPI/resources/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InfotelGLPI/resources/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InfotelGLPI/resources/teams","hooks_url":"https://api.github.com/repos/InfotelGLPI/resources/hooks","issue_events_url":"https://api.github.com/repos/InfotelGLPI/resources/issues/events{/number}","events_url":"https://api.github.com/repos/InfotelGLPI/resources/events","assignees_url":"https://api.github.com/repos/InfotelGLPI/resources/assignees{/user}","branches_url":"https://api.github.com/repos/InfotelGLPI/resources/branches{/branch}","tags_url":"https://api.github.com/repos/InfotelGLPI/resources/tags","blobs_url":"https://api.github.com/repos/InfotelGLPI/resources/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InfotelGLPI/resources/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InfotelGLPI/resources/git/refs{/sha}","trees_url":"https://api.github.com/repos/InfotelGLPI/resources/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InfotelGLPI/resources/statuses/{sha}","languages_url":"https://api.github.com/repos/InfotelGLPI/resources/languages","stargazers_url":"https://api.github.com/repos/InfotelGLPI/resources/stargazers","contributors_url":"https://api.github.com/repos/InfotelGLPI/resources/contributors","subscribers_url":"https://api.github.com/repos/InfotelGLPI/resources/subscribers","subscription_url":"https://api.github.com/repos/InfotelGLPI/resources/subscription","commits_url":"https://api.github.com/repos/InfotelGLPI/resources/commits{/sha}","git_commits_url":"https://api.github.com/repos/InfotelGLPI/resources/git/commits{/sha}","comments_url":"https://api.github.com/repos/InfotelGLPI/resources/comments{/number}","issue_comment_url":"https://api.github.com/repos/InfotelGLPI/resources/issues/comments{/number}","contents_url":"https://api.github.com/repos/InfotelGLPI/resources/contents/{+path}","compare_url":"https://api.github.com/repos/InfotelGLPI/resources/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InfotelGLPI/resources/merges","archive_url":"https://api.github.com/repos/InfotelGLPI/resources/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InfotelGLPI/resources/downloads","issues_url":"https://api.github.com/repos/InfotelGLPI/resources/issues{/number}","pulls_url":"https://api.github.com/repos/InfotelGLPI/resources/pulls{/number}","milestones_url":"https://api.github.com/repos/InfotelGLPI/resources/milestones{/number}","notifications_url":"https://api.github.com/repos/InfotelGLPI/resources/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InfotelGLPI/resources/labels{/name}","releases_url":"https://api.github.com/repos/InfotelGLPI/resources/releases{/id}","deployments_url":"https://api.github.com/repos/InfotelGLPI/resources/deployments","created_at":"2015-07-17T08:40:28Z","updated_at":"2018-09-10T13:01:07Z","pushed_at":"2018-09-10T14:08:42Z","git_url":"git://github.com/InfotelGLPI/resources.git","ssh_url":"git@github.com:InfotelGLPI/resources.git","clone_url":"https://github.com/InfotelGLPI/resources.git","svn_url":"https://github.com/InfotelGLPI/resources","homepage":"http://blogglpi.infotel.com","size":2610,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":5,"open_issues":12,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/InfotelGLPI/resources/pulls/77"},"html":{"href":"https://github.com/InfotelGLPI/resources/pull/77"},"issue":{"href":"https://api.github.com/repos/InfotelGLPI/resources/issues/77"},"comments":{"href":"https://api.github.com/repos/InfotelGLPI/resources/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/InfotelGLPI/resources/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/InfotelGLPI/resources/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/InfotelGLPI/resources/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/InfotelGLPI/resources/statuses/e5862c43f4a1be00e157489294c725bb13940259"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"amma35"}}