{"action":"created","comment":{"url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls/comments/40210254","id":40210254,"diff_hunk":"@@ -0,0 +1,202 @@\n+<!DOCTYPE html>\n+<html>\n+<head lang=\"en\">\n+    <meta charset=\"UTF-8\">\n+    <title>Project Browser</title>\n+\n+    <script type=\"text/javascript\" src=\"/vivo/themes/dco/js/facetview2/vendor/jquery/1.7.1/jquery-1.7.1.min.js\"></script>\n+    <link rel=\"stylesheet\" href=\"/vivo/themes/dco/js/facetview2/vendor/bootstrap/css/bootstrap.min.css\">\n+    <script type=\"text/javascript\" src=\"/vivo/themes/dco/js/facetview2/vendor/bootstrap/js/bootstrap.min.js\"></script>\n+    <link rel=\"stylesheet\" href=\"/vivo/themes/dco/js/facetview2/vendor/jquery-ui-1.8.18.custom/jquery-ui-1.8.18.custom.css\">\n+    <script type=\"text/javascript\" src=\"/vivo/themes/dco/js/facetview2/vendor/jquery-ui-1.8.18.custom/jquery-ui-1.8.18.custom.min.js\"></script>\n+\n+    <script type=\"text/javascript\" src=\"/vivo/themes/dco/js/facetview2/es.js\"></script>\n+    <script type=\"text/javascript\" src=\"/vivo/themes/dco/js/facetview2/bootstrap2.facetview.theme.js\"></script>\n+    <script type=\"text/javascript\" src=\"/vivo/themes/dco/js/facetview2/jquery.facetview2.js\"></script>\n+    <link rel=\"stylesheet\" href=\"/vivo/themes/dco/js/facetview2/css/facetview.css\">\n+    <link rel=\"stylesheet\" href=\"/vivo/themes/dco/css/browsers.css\">\n+\n+    <script type=\"text/javascript\">\n+        jQuery(document).ready(function($) {\n+            $('.facet-view-simple').facetview({\n+                //search_url: '//dcotest.tw.rpi.edu/search/dco/project/_search',\n+                search_url: '//localhost:9200/dco/project/_search',\n+                page_size: 20,\n+                sort: [{\"_score\" : {\"order\" : \"desc\"}}],\n+                sharesave_link: true,\n+                search_button: true,\n+                default_freetext_fuzzify: \"*\",\n+                default_facet_operator: \"AND\",\n+                default_facet_order: \"count\",\n+                default_facet_size: 15,\n+                facets: [\n+                    {'field': 'mostSpecificType', 'display': 'Type'},\n+                    {'field': 'community.name.exact', 'display': 'Community'},\n+                    {'field': 'portalGroup.name.exact', 'display': 'Portal Group'},\n+                    {'field': 'leader.name.exact', 'size': 20, 'display': 'Leader'},\n+                    {'field': 'participants.name.exact', 'size': 20, 'display': 'Participants'},\n+                    {'field': 'submittedBy.name.exact', 'size': 20, 'display': 'Submitted By'},\n+                    {'field': 'grant.label.exact', 'size': 20, 'display': 'Grants'},\n+                    {'field': 'dateTimeInterval.startYear', 'size': 20, 'display': 'Start Year'},\n+                    {'field': 'dateTimeInterval.endYear', 'size': 20, 'display': 'End Year'},\n+                    {'field': 'reportingYear.year', 'size': 20, 'display': 'Reporting Year'}\n+                ],\n+                search_sortby: [\n+                    {'display':'Title','field':'title.exact'}\n+                ],\n+                render_result_record: function(options, record)\n+                {\n+\n+                    var html = \"<tr><td>\";\n+\n+                    if (record[\"thumbnail\"]) {\n+                        html += \"<div class='thumbnail'>\"\n+                        html += \"<img src='\"+record[\"thumbnail\"]+\"'>&nbsp;\";\n+                        html += \"</div>\"\n+                    }\n+\n+                    html += \"<div class='project-info'>\"\n+","path":"html/projects.html","position":60,"original_position":59,"commit_id":"a39b78b9495247ba14a6b5cccb9cfbffbbea2ea9","original_commit_id":"dfaff815003e644a52386d4cc912380469789d28","user":{"login":"mrpatrickwest","id":1447926,"avatar_url":"https://avatars.githubusercontent.com/u/1447926?v=3","gravatar_id":"","url":"https://api.github.com/users/mrpatrickwest","html_url":"https://github.com/mrpatrickwest","followers_url":"https://api.github.com/users/mrpatrickwest/followers","following_url":"https://api.github.com/users/mrpatrickwest/following{/other_user}","gists_url":"https://api.github.com/users/mrpatrickwest/gists{/gist_id}","starred_url":"https://api.github.com/users/mrpatrickwest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrpatrickwest/subscriptions","organizations_url":"https://api.github.com/users/mrpatrickwest/orgs","repos_url":"https://api.github.com/users/mrpatrickwest/repos","events_url":"https://api.github.com/users/mrpatrickwest/events{/privacy}","received_events_url":"https://api.github.com/users/mrpatrickwest/received_events","type":"User","site_admin":false},"body":"That's what I would prefer.","created_at":"2015-09-23T14:33:58Z","updated_at":"2015-09-23T14:33:58Z","html_url":"https://github.com/tetherless-world/dco-elasticsearch/pull/16#discussion_r40210254","pull_request_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls/comments/40210254"},"html":{"href":"https://github.com/tetherless-world/dco-elasticsearch/pull/16#discussion_r40210254"},"pull_request":{"href":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls/16","id":45482496,"html_url":"https://github.com/tetherless-world/dco-elasticsearch/pull/16","diff_url":"https://github.com/tetherless-world/dco-elasticsearch/pull/16.diff","patch_url":"https://github.com/tetherless-world/dco-elasticsearch/pull/16.patch","issue_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/16","number":16,"state":"open","locked":false,"title":"Project browser ready for review","user":{"login":"am-e","id":8951064,"avatar_url":"https://avatars.githubusercontent.com/u/8951064?v=3","gravatar_id":"","url":"https://api.github.com/users/am-e","html_url":"https://github.com/am-e","followers_url":"https://api.github.com/users/am-e/followers","following_url":"https://api.github.com/users/am-e/following{/other_user}","gists_url":"https://api.github.com/users/am-e/gists{/gist_id}","starred_url":"https://api.github.com/users/am-e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/am-e/subscriptions","organizations_url":"https://api.github.com/users/am-e/orgs","repos_url":"https://api.github.com/users/am-e/repos","events_url":"https://api.github.com/users/am-e/events{/privacy}","received_events_url":"https://api.github.com/users/am-e/received_events","type":"User","site_admin":false},"body":"Project SPARQL queries, ingest script, ES mapping and html page.","created_at":"2015-09-19T19:16:06Z","updated_at":"2015-09-23T14:33:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e887bc97906c6dd16825c344b5d608be739836b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls/16/commits","review_comments_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls/16/comments","review_comment_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/16/comments","statuses_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/statuses/a39b78b9495247ba14a6b5cccb9cfbffbbea2ea9","head":{"label":"tetherless-world:project-browser","ref":"project-browser","sha":"a39b78b9495247ba14a6b5cccb9cfbffbbea2ea9","user":{"login":"tetherless-world","id":4519152,"avatar_url":"https://avatars.githubusercontent.com/u/4519152?v=3","gravatar_id":"","url":"https://api.github.com/users/tetherless-world","html_url":"https://github.com/tetherless-world","followers_url":"https://api.github.com/users/tetherless-world/followers","following_url":"https://api.github.com/users/tetherless-world/following{/other_user}","gists_url":"https://api.github.com/users/tetherless-world/gists{/gist_id}","starred_url":"https://api.github.com/users/tetherless-world/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tetherless-world/subscriptions","organizations_url":"https://api.github.com/users/tetherless-world/orgs","repos_url":"https://api.github.com/users/tetherless-world/repos","events_url":"https://api.github.com/users/tetherless-world/events{/privacy}","received_events_url":"https://api.github.com/users/tetherless-world/received_events","type":"Organization","site_admin":false},"repo":{"id":39468446,"name":"dco-elasticsearch","full_name":"tetherless-world/dco-elasticsearch","owner":{"login":"tetherless-world","id":4519152,"avatar_url":"https://avatars.githubusercontent.com/u/4519152?v=3","gravatar_id":"","url":"https://api.github.com/users/tetherless-world","html_url":"https://github.com/tetherless-world","followers_url":"https://api.github.com/users/tetherless-world/followers","following_url":"https://api.github.com/users/tetherless-world/following{/other_user}","gists_url":"https://api.github.com/users/tetherless-world/gists{/gist_id}","starred_url":"https://api.github.com/users/tetherless-world/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tetherless-world/subscriptions","organizations_url":"https://api.github.com/users/tetherless-world/orgs","repos_url":"https://api.github.com/users/tetherless-world/repos","events_url":"https://api.github.com/users/tetherless-world/events{/privacy}","received_events_url":"https://api.github.com/users/tetherless-world/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tetherless-world/dco-elasticsearch","description":"DCO ElasticSearch","fork":false,"url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch","forks_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/forks","keys_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/teams","hooks_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/events","assignees_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/tags","blobs_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/languages","stargazers_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/subscription","commits_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/merges","archive_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/downloads","issues_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/releases{/id}","created_at":"2015-07-21T20:32:52Z","updated_at":"2015-09-15T02:35:10Z","pushed_at":"2015-09-23T03:21:02Z","git_url":"git://github.com/tetherless-world/dco-elasticsearch.git","ssh_url":"git@github.com:tetherless-world/dco-elasticsearch.git","clone_url":"https://github.com/tetherless-world/dco-elasticsearch.git","svn_url":"https://github.com/tetherless-world/dco-elasticsearch","homepage":null,"size":436,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"tetherless-world:master","ref":"master","sha":"989f1f10b9da967ed9f21874f09c1fb0e02a7b0f","user":{"login":"tetherless-world","id":4519152,"avatar_url":"https://avatars.githubusercontent.com/u/4519152?v=3","gravatar_id":"","url":"https://api.github.com/users/tetherless-world","html_url":"https://github.com/tetherless-world","followers_url":"https://api.github.com/users/tetherless-world/followers","following_url":"https://api.github.com/users/tetherless-world/following{/other_user}","gists_url":"https://api.github.com/users/tetherless-world/gists{/gist_id}","starred_url":"https://api.github.com/users/tetherless-world/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tetherless-world/subscriptions","organizations_url":"https://api.github.com/users/tetherless-world/orgs","repos_url":"https://api.github.com/users/tetherless-world/repos","events_url":"https://api.github.com/users/tetherless-world/events{/privacy}","received_events_url":"https://api.github.com/users/tetherless-world/received_events","type":"Organization","site_admin":false},"repo":{"id":39468446,"name":"dco-elasticsearch","full_name":"tetherless-world/dco-elasticsearch","owner":{"login":"tetherless-world","id":4519152,"avatar_url":"https://avatars.githubusercontent.com/u/4519152?v=3","gravatar_id":"","url":"https://api.github.com/users/tetherless-world","html_url":"https://github.com/tetherless-world","followers_url":"https://api.github.com/users/tetherless-world/followers","following_url":"https://api.github.com/users/tetherless-world/following{/other_user}","gists_url":"https://api.github.com/users/tetherless-world/gists{/gist_id}","starred_url":"https://api.github.com/users/tetherless-world/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tetherless-world/subscriptions","organizations_url":"https://api.github.com/users/tetherless-world/orgs","repos_url":"https://api.github.com/users/tetherless-world/repos","events_url":"https://api.github.com/users/tetherless-world/events{/privacy}","received_events_url":"https://api.github.com/users/tetherless-world/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tetherless-world/dco-elasticsearch","description":"DCO ElasticSearch","fork":false,"url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch","forks_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/forks","keys_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/teams","hooks_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/events","assignees_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/tags","blobs_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/languages","stargazers_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/subscription","commits_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/merges","archive_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/downloads","issues_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/releases{/id}","created_at":"2015-07-21T20:32:52Z","updated_at":"2015-09-15T02:35:10Z","pushed_at":"2015-09-23T03:21:02Z","git_url":"git://github.com/tetherless-world/dco-elasticsearch.git","ssh_url":"git@github.com:tetherless-world/dco-elasticsearch.git","clone_url":"https://github.com/tetherless-world/dco-elasticsearch.git","svn_url":"https://github.com/tetherless-world/dco-elasticsearch","homepage":null,"size":436,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls/16"},"html":{"href":"https://github.com/tetherless-world/dco-elasticsearch/pull/16"},"issue":{"href":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/16"},"comments":{"href":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/statuses/a39b78b9495247ba14a6b5cccb9cfbffbbea2ea9"}}}}