{"action":"created","comment":{"url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls/comments/41791874","id":41791874,"diff_hunk":"@@ -15,8 +15,17 @@ def aggregated_by\n       proxy_class.where(proxyFor_ssim: id).map(&:container)\n     end\n \n+    def ordered_by\n+      ordered_by_ids.map{ |x| ActiveFedora::Base.find(x) }","path":"lib/active_fedora/aggregation/base_extension.rb","position":5,"original_position":5,"commit_id":"41d097af42b725e9acaa86d47bf78cdb7356ca74","original_commit_id":"41d097af42b725e9acaa86d47bf78cdb7356ca74","user":{"login":"mjgiarlo","id":131982,"avatar_url":"https://avatars.githubusercontent.com/u/131982?v=3","gravatar_id":"","url":"https://api.github.com/users/mjgiarlo","html_url":"https://github.com/mjgiarlo","followers_url":"https://api.github.com/users/mjgiarlo/followers","following_url":"https://api.github.com/users/mjgiarlo/following{/other_user}","gists_url":"https://api.github.com/users/mjgiarlo/gists{/gist_id}","starred_url":"https://api.github.com/users/mjgiarlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjgiarlo/subscriptions","organizations_url":"https://api.github.com/users/mjgiarlo/orgs","repos_url":"https://api.github.com/users/mjgiarlo/repos","events_url":"https://api.github.com/users/mjgiarlo/events{/privacy}","received_events_url":"https://api.github.com/users/mjgiarlo/received_events","type":"User","site_admin":false},"body":"I dig it.","created_at":"2015-10-12T19:26:21Z","updated_at":"2015-10-12T19:26:21Z","html_url":"https://github.com/projecthydra-labs/activefedora-aggregation/pull/83#discussion_r41791874","pull_request_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls/83","_links":{"self":{"href":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls/comments/41791874"},"html":{"href":"https://github.com/projecthydra-labs/activefedora-aggregation/pull/83#discussion_r41791874"},"pull_request":{"href":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls/83","id":47453939,"html_url":"https://github.com/projecthydra-labs/activefedora-aggregation/pull/83","diff_url":"https://github.com/projecthydra-labs/activefedora-aggregation/pull/83.diff","patch_url":"https://github.com/projecthydra-labs/activefedora-aggregation/pull/83.patch","issue_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/issues/83","number":83,"state":"open","locked":false,"title":"Add indexing and actionable #ordered_members.","user":{"login":"terrellt","id":2806645,"avatar_url":"https://avatars.githubusercontent.com/u/2806645?v=3","gravatar_id":"","url":"https://api.github.com/users/terrellt","html_url":"https://github.com/terrellt","followers_url":"https://api.github.com/users/terrellt/followers","following_url":"https://api.github.com/users/terrellt/following{/other_user}","gists_url":"https://api.github.com/users/terrellt/gists{/gist_id}","starred_url":"https://api.github.com/users/terrellt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrellt/subscriptions","organizations_url":"https://api.github.com/users/terrellt/orgs","repos_url":"https://api.github.com/users/terrellt/repos","events_url":"https://api.github.com/users/terrellt/events{/privacy}","received_events_url":"https://api.github.com/users/terrellt/received_events","type":"User","site_admin":false},"body":"These fixes are largely to support APIs expected by Hydra::PCDM.","created_at":"2015-10-12T19:09:21Z","updated_at":"2015-10-12T19:26:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4b06b45a2005bd4fc1dae2dea06d2cd30332cf3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls/83/commits","review_comments_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls/83/comments","review_comment_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/issues/83/comments","statuses_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/statuses/41d097af42b725e9acaa86d47bf78cdb7356ca74","head":{"label":"projecthydra-labs:fix_for_pcdm","ref":"fix_for_pcdm","sha":"41d097af42b725e9acaa86d47bf78cdb7356ca74","user":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":32475785,"name":"activefedora-aggregation","full_name":"projecthydra-labs/activefedora-aggregation","owner":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra-labs/activefedora-aggregation","description":"Aggregation relationship for ActiveFedora","fork":false,"url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation","forks_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/forks","keys_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/teams","hooks_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/hooks","issue_events_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/events","assignees_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/tags","blobs_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/languages","stargazers_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/stargazers","contributors_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/contributors","subscribers_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/subscribers","subscription_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/subscription","commits_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/merges","archive_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/downloads","issues_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/releases{/id}","created_at":"2015-03-18T18:06:40Z","updated_at":"2015-09-24T14:02:26Z","pushed_at":"2015-10-12T19:09:21Z","git_url":"git://github.com/projecthydra-labs/activefedora-aggregation.git","ssh_url":"git@github.com:projecthydra-labs/activefedora-aggregation.git","clone_url":"https://github.com/projecthydra-labs/activefedora-aggregation.git","svn_url":"https://github.com/projecthydra-labs/activefedora-aggregation","homepage":null,"size":654,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":14,"forks":3,"open_issues":14,"watchers":4,"default_branch":"master"}},"base":{"label":"projecthydra-labs:master","ref":"master","sha":"7ce9af95f8b28d7de9399197a5c0b1de53ba0b14","user":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":32475785,"name":"activefedora-aggregation","full_name":"projecthydra-labs/activefedora-aggregation","owner":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra-labs/activefedora-aggregation","description":"Aggregation relationship for ActiveFedora","fork":false,"url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation","forks_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/forks","keys_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/teams","hooks_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/hooks","issue_events_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/events","assignees_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/tags","blobs_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/languages","stargazers_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/stargazers","contributors_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/contributors","subscribers_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/subscribers","subscription_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/subscription","commits_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/merges","archive_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/downloads","issues_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/releases{/id}","created_at":"2015-03-18T18:06:40Z","updated_at":"2015-09-24T14:02:26Z","pushed_at":"2015-10-12T19:09:21Z","git_url":"git://github.com/projecthydra-labs/activefedora-aggregation.git","ssh_url":"git@github.com:projecthydra-labs/activefedora-aggregation.git","clone_url":"https://github.com/projecthydra-labs/activefedora-aggregation.git","svn_url":"https://github.com/projecthydra-labs/activefedora-aggregation","homepage":null,"size":654,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":14,"forks":3,"open_issues":14,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls/83"},"html":{"href":"https://github.com/projecthydra-labs/activefedora-aggregation/pull/83"},"issue":{"href":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/issues/83"},"comments":{"href":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/projecthydra-labs/activefedora-aggregation/statuses/41d097af42b725e9acaa86d47bf78cdb7356ca74"}}}}