{"action":"created","comment":{"url":"https://api.github.com/repos/pulibrary/orangelight/pulls/comments/44450994","id":44450994,"diff_hunk":"@@ -65,7 +66,14 @@ def export_as_openurl_ctx_kev(format = nil)\n         export_text << \"&amp;rft.isbn=#{(isbn.nil? or isbn['a'].nil?) ? \"\" : isbn['a']}\"\n       end\n     end\n-    export_text << \"&amp;rft_id=\" + (id.nil? ? \"\" : CGI::escape(\"pul_\"+id.value))\n+    \n+    export_text << \"&amp;rft_id=\" + (id.nil? ? \"\" : CGI::escape(\"http://bibdata.princeton.edu/bibliographic/\"+id.value))","path":"config/initializers/blacklight_initializer.rb","position":16,"original_position":16,"commit_id":"f0e34d4550df700d6021a73b1f9e586f90030e04","original_commit_id":"f0e34d4550df700d6021a73b1f9e586f90030e04","user":{"login":"tampakis","id":4650153,"avatar_url":"https://avatars.githubusercontent.com/u/4650153?v=3","gravatar_id":"","url":"https://api.github.com/users/tampakis","html_url":"https://github.com/tampakis","followers_url":"https://api.github.com/users/tampakis/followers","following_url":"https://api.github.com/users/tampakis/following{/other_user}","gists_url":"https://api.github.com/users/tampakis/gists{/gist_id}","starred_url":"https://api.github.com/users/tampakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tampakis/subscriptions","organizations_url":"https://api.github.com/users/tampakis/orgs","repos_url":"https://api.github.com/users/tampakis/repos","events_url":"https://api.github.com/users/tampakis/events{/privacy}","received_events_url":"https://api.github.com/users/tampakis/received_events","type":"User","site_admin":false},"body":"How does the rft_id value get used?\r\nStylewise I think it's more readable to interpolate the string: `\"http://bibdata.princeton.edu/bibliographic/{id.value}\"`","created_at":"2015-11-10T19:17:55Z","updated_at":"2015-11-10T19:17:55Z","html_url":"https://github.com/pulibrary/orangelight/pull/322#discussion_r44450994","pull_request_url":"https://api.github.com/repos/pulibrary/orangelight/pulls/322","_links":{"self":{"href":"https://api.github.com/repos/pulibrary/orangelight/pulls/comments/44450994"},"html":{"href":"https://github.com/pulibrary/orangelight/pull/322#discussion_r44450994"},"pull_request":{"href":"https://api.github.com/repos/pulibrary/orangelight/pulls/322"}}},"pull_request":{"url":"https://api.github.com/repos/pulibrary/orangelight/pulls/322","id":50199970,"html_url":"https://github.com/pulibrary/orangelight/pull/322","diff_url":"https://github.com/pulibrary/orangelight/pull/322.diff","patch_url":"https://github.com/pulibrary/orangelight/pull/322.patch","issue_url":"https://api.github.com/repos/pulibrary/orangelight/issues/322","number":322,"state":"open","locked":false,"title":"Add ctx span to index view, add lccn/oclcnum to ctx openurl.","user":{"login":"kevinreiss","id":278825,"avatar_url":"https://avatars.githubusercontent.com/u/278825?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinreiss","html_url":"https://github.com/kevinreiss","followers_url":"https://api.github.com/users/kevinreiss/followers","following_url":"https://api.github.com/users/kevinreiss/following{/other_user}","gists_url":"https://api.github.com/users/kevinreiss/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinreiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinreiss/subscriptions","organizations_url":"https://api.github.com/users/kevinreiss/orgs","repos_url":"https://api.github.com/users/kevinreiss/repos","events_url":"https://api.github.com/users/kevinreiss/events{/privacy}","received_events_url":"https://api.github.com/users/kevinreiss/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-10T00:45:03Z","updated_at":"2015-11-10T19:17:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eaf15fac2d7a7b9cc698c8531c0079e3342136f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pulibrary/orangelight/pulls/322/commits","review_comments_url":"https://api.github.com/repos/pulibrary/orangelight/pulls/322/comments","review_comment_url":"https://api.github.com/repos/pulibrary/orangelight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pulibrary/orangelight/issues/322/comments","statuses_url":"https://api.github.com/repos/pulibrary/orangelight/statuses/f0e34d4550df700d6021a73b1f9e586f90030e04","head":{"label":"pulibrary:add_ctx_to_index","ref":"add_ctx_to_index","sha":"f0e34d4550df700d6021a73b1f9e586f90030e04","user":{"login":"pulibrary","id":1827800,"avatar_url":"https://avatars.githubusercontent.com/u/1827800?v=3","gravatar_id":"","url":"https://api.github.com/users/pulibrary","html_url":"https://github.com/pulibrary","followers_url":"https://api.github.com/users/pulibrary/followers","following_url":"https://api.github.com/users/pulibrary/following{/other_user}","gists_url":"https://api.github.com/users/pulibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/pulibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulibrary/subscriptions","organizations_url":"https://api.github.com/users/pulibrary/orgs","repos_url":"https://api.github.com/users/pulibrary/repos","events_url":"https://api.github.com/users/pulibrary/events{/privacy}","received_events_url":"https://api.github.com/users/pulibrary/received_events","type":"Organization","site_admin":false},"repo":{"id":21954918,"name":"orangelight","full_name":"pulibrary/orangelight","owner":{"login":"pulibrary","id":1827800,"avatar_url":"https://avatars.githubusercontent.com/u/1827800?v=3","gravatar_id":"","url":"https://api.github.com/users/pulibrary","html_url":"https://github.com/pulibrary","followers_url":"https://api.github.com/users/pulibrary/followers","following_url":"https://api.github.com/users/pulibrary/following{/other_user}","gists_url":"https://api.github.com/users/pulibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/pulibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulibrary/subscriptions","organizations_url":"https://api.github.com/users/pulibrary/orgs","repos_url":"https://api.github.com/users/pulibrary/repos","events_url":"https://api.github.com/users/pulibrary/events{/privacy}","received_events_url":"https://api.github.com/users/pulibrary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pulibrary/orangelight","description":"PUL Blacklight Project","fork":false,"url":"https://api.github.com/repos/pulibrary/orangelight","forks_url":"https://api.github.com/repos/pulibrary/orangelight/forks","keys_url":"https://api.github.com/repos/pulibrary/orangelight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulibrary/orangelight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulibrary/orangelight/teams","hooks_url":"https://api.github.com/repos/pulibrary/orangelight/hooks","issue_events_url":"https://api.github.com/repos/pulibrary/orangelight/issues/events{/number}","events_url":"https://api.github.com/repos/pulibrary/orangelight/events","assignees_url":"https://api.github.com/repos/pulibrary/orangelight/assignees{/user}","branches_url":"https://api.github.com/repos/pulibrary/orangelight/branches{/branch}","tags_url":"https://api.github.com/repos/pulibrary/orangelight/tags","blobs_url":"https://api.github.com/repos/pulibrary/orangelight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulibrary/orangelight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulibrary/orangelight/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulibrary/orangelight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulibrary/orangelight/statuses/{sha}","languages_url":"https://api.github.com/repos/pulibrary/orangelight/languages","stargazers_url":"https://api.github.com/repos/pulibrary/orangelight/stargazers","contributors_url":"https://api.github.com/repos/pulibrary/orangelight/contributors","subscribers_url":"https://api.github.com/repos/pulibrary/orangelight/subscribers","subscription_url":"https://api.github.com/repos/pulibrary/orangelight/subscription","commits_url":"https://api.github.com/repos/pulibrary/orangelight/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulibrary/orangelight/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulibrary/orangelight/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulibrary/orangelight/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulibrary/orangelight/contents/{+path}","compare_url":"https://api.github.com/repos/pulibrary/orangelight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulibrary/orangelight/merges","archive_url":"https://api.github.com/repos/pulibrary/orangelight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulibrary/orangelight/downloads","issues_url":"https://api.github.com/repos/pulibrary/orangelight/issues{/number}","pulls_url":"https://api.github.com/repos/pulibrary/orangelight/pulls{/number}","milestones_url":"https://api.github.com/repos/pulibrary/orangelight/milestones{/number}","notifications_url":"https://api.github.com/repos/pulibrary/orangelight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulibrary/orangelight/labels{/name}","releases_url":"https://api.github.com/repos/pulibrary/orangelight/releases{/id}","created_at":"2014-07-17T19:35:14Z","updated_at":"2015-11-04T21:38:41Z","pushed_at":"2015-11-10T18:55:34Z","git_url":"git://github.com/pulibrary/orangelight.git","ssh_url":"git@github.com:pulibrary/orangelight.git","clone_url":"https://github.com/pulibrary/orangelight.git","svn_url":"https://github.com/pulibrary/orangelight","homepage":"","size":7083,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":82,"forks":1,"open_issues":82,"watchers":4,"default_branch":"development"}},"base":{"label":"pulibrary:development","ref":"development","sha":"2056cceff468a1a88784e014e79fb6e7f6d0bd65","user":{"login":"pulibrary","id":1827800,"avatar_url":"https://avatars.githubusercontent.com/u/1827800?v=3","gravatar_id":"","url":"https://api.github.com/users/pulibrary","html_url":"https://github.com/pulibrary","followers_url":"https://api.github.com/users/pulibrary/followers","following_url":"https://api.github.com/users/pulibrary/following{/other_user}","gists_url":"https://api.github.com/users/pulibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/pulibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulibrary/subscriptions","organizations_url":"https://api.github.com/users/pulibrary/orgs","repos_url":"https://api.github.com/users/pulibrary/repos","events_url":"https://api.github.com/users/pulibrary/events{/privacy}","received_events_url":"https://api.github.com/users/pulibrary/received_events","type":"Organization","site_admin":false},"repo":{"id":21954918,"name":"orangelight","full_name":"pulibrary/orangelight","owner":{"login":"pulibrary","id":1827800,"avatar_url":"https://avatars.githubusercontent.com/u/1827800?v=3","gravatar_id":"","url":"https://api.github.com/users/pulibrary","html_url":"https://github.com/pulibrary","followers_url":"https://api.github.com/users/pulibrary/followers","following_url":"https://api.github.com/users/pulibrary/following{/other_user}","gists_url":"https://api.github.com/users/pulibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/pulibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulibrary/subscriptions","organizations_url":"https://api.github.com/users/pulibrary/orgs","repos_url":"https://api.github.com/users/pulibrary/repos","events_url":"https://api.github.com/users/pulibrary/events{/privacy}","received_events_url":"https://api.github.com/users/pulibrary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pulibrary/orangelight","description":"PUL Blacklight Project","fork":false,"url":"https://api.github.com/repos/pulibrary/orangelight","forks_url":"https://api.github.com/repos/pulibrary/orangelight/forks","keys_url":"https://api.github.com/repos/pulibrary/orangelight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulibrary/orangelight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulibrary/orangelight/teams","hooks_url":"https://api.github.com/repos/pulibrary/orangelight/hooks","issue_events_url":"https://api.github.com/repos/pulibrary/orangelight/issues/events{/number}","events_url":"https://api.github.com/repos/pulibrary/orangelight/events","assignees_url":"https://api.github.com/repos/pulibrary/orangelight/assignees{/user}","branches_url":"https://api.github.com/repos/pulibrary/orangelight/branches{/branch}","tags_url":"https://api.github.com/repos/pulibrary/orangelight/tags","blobs_url":"https://api.github.com/repos/pulibrary/orangelight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulibrary/orangelight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulibrary/orangelight/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulibrary/orangelight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulibrary/orangelight/statuses/{sha}","languages_url":"https://api.github.com/repos/pulibrary/orangelight/languages","stargazers_url":"https://api.github.com/repos/pulibrary/orangelight/stargazers","contributors_url":"https://api.github.com/repos/pulibrary/orangelight/contributors","subscribers_url":"https://api.github.com/repos/pulibrary/orangelight/subscribers","subscription_url":"https://api.github.com/repos/pulibrary/orangelight/subscription","commits_url":"https://api.github.com/repos/pulibrary/orangelight/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulibrary/orangelight/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulibrary/orangelight/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulibrary/orangelight/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulibrary/orangelight/contents/{+path}","compare_url":"https://api.github.com/repos/pulibrary/orangelight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulibrary/orangelight/merges","archive_url":"https://api.github.com/repos/pulibrary/orangelight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulibrary/orangelight/downloads","issues_url":"https://api.github.com/repos/pulibrary/orangelight/issues{/number}","pulls_url":"https://api.github.com/repos/pulibrary/orangelight/pulls{/number}","milestones_url":"https://api.github.com/repos/pulibrary/orangelight/milestones{/number}","notifications_url":"https://api.github.com/repos/pulibrary/orangelight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulibrary/orangelight/labels{/name}","releases_url":"https://api.github.com/repos/pulibrary/orangelight/releases{/id}","created_at":"2014-07-17T19:35:14Z","updated_at":"2015-11-04T21:38:41Z","pushed_at":"2015-11-10T18:55:34Z","git_url":"git://github.com/pulibrary/orangelight.git","ssh_url":"git@github.com:pulibrary/orangelight.git","clone_url":"https://github.com/pulibrary/orangelight.git","svn_url":"https://github.com/pulibrary/orangelight","homepage":"","size":7083,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":82,"forks":1,"open_issues":82,"watchers":4,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/pulibrary/orangelight/pulls/322"},"html":{"href":"https://github.com/pulibrary/orangelight/pull/322"},"issue":{"href":"https://api.github.com/repos/pulibrary/orangelight/issues/322"},"comments":{"href":"https://api.github.com/repos/pulibrary/orangelight/issues/322/comments"},"review_comments":{"href":"https://api.github.com/repos/pulibrary/orangelight/pulls/322/comments"},"review_comment":{"href":"https://api.github.com/repos/pulibrary/orangelight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pulibrary/orangelight/pulls/322/commits"},"statuses":{"href":"https://api.github.com/repos/pulibrary/orangelight/statuses/f0e34d4550df700d6021a73b1f9e586f90030e04"}}}}