{"action":"created","comment":{"url":"https://api.github.com/repos/projecthydra/curation_concerns/pulls/comments/88355134","pull_request_review_id":8931926,"id":88355134,"diff_hunk":"@@ -1,5 +1,9 @@\n module CurationConcerns\n   class WorkSearchBuilder < ::SearchBuilder\n     include CurationConcerns::SingleResult\n+    include CurationConcerns::FilterSuppressed\n+\n+    # work show page should not filter out suppressed works set by the base search builder used for catalog searches\n+    self.default_processor_chain -= [:only_active_works]","path":"app/search_builders/curation_concerns/work_search_builder.rb","position":7,"original_position":7,"commit_id":"16bc51c52c475fe3db8a79378f7069d910959c25","original_commit_id":"16bc51c52c475fe3db8a79378f7069d910959c25","user":{"login":"revgum","id":32885,"avatar_url":"https://avatars.githubusercontent.com/u/32885?v=3","gravatar_id":"","url":"https://api.github.com/users/revgum","html_url":"https://github.com/revgum","followers_url":"https://api.github.com/users/revgum/followers","following_url":"https://api.github.com/users/revgum/following{/other_user}","gists_url":"https://api.github.com/users/revgum/gists{/gist_id}","starred_url":"https://api.github.com/users/revgum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revgum/subscriptions","organizations_url":"https://api.github.com/users/revgum/orgs","repos_url":"https://api.github.com/users/revgum/repos","events_url":"https://api.github.com/users/revgum/events{/privacy}","received_events_url":"https://api.github.com/users/revgum/received_events","type":"User","site_admin":false},"body":"I added a comment describing the need... the base search builder filters out suppressed works from the SOLR query. So when you try to go to a Work show page, you have to eliminate the filter.","created_at":"2016-11-16T23:25:28Z","updated_at":"2016-11-16T23:25:28Z","html_url":"https://github.com/projecthydra/curation_concerns/pull/1098#discussion_r88355134","pull_request_url":"https://api.github.com/repos/projecthydra/curation_concerns/pulls/1098","_links":{"self":{"href":"https://api.github.com/repos/projecthydra/curation_concerns/pulls/comments/88355134"},"html":{"href":"https://github.com/projecthydra/curation_concerns/pull/1098#discussion_r88355134"},"pull_request":{"href":"https://api.github.com/repos/projecthydra/curation_concerns/pulls/1098"}}},"pull_request":{"url":"https://api.github.com/repos/projecthydra/curation_concerns/pulls/1098","id":94069671,"html_url":"https://github.com/projecthydra/curation_concerns/pull/1098","diff_url":"https://github.com/projecthydra/curation_concerns/pull/1098.diff","patch_url":"https://github.com/projecthydra/curation_concerns/pull/1098.patch","issue_url":"https://api.github.com/repos/projecthydra/curation_concerns/issues/1098","number":1098,"state":"open","locked":false,"title":"Bugfix work show admin","user":{"login":"revgum","id":32885,"avatar_url":"https://avatars.githubusercontent.com/u/32885?v=3","gravatar_id":"","url":"https://api.github.com/users/revgum","html_url":"https://github.com/revgum","followers_url":"https://api.github.com/users/revgum/followers","following_url":"https://api.github.com/users/revgum/following{/other_user}","gists_url":"https://api.github.com/users/revgum/gists{/gist_id}","starred_url":"https://api.github.com/users/revgum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revgum/subscriptions","organizations_url":"https://api.github.com/users/revgum/orgs","repos_url":"https://api.github.com/users/revgum/repos","events_url":"https://api.github.com/users/revgum/events{/privacy}","received_events_url":"https://api.github.com/users/revgum/received_events","type":"User","site_admin":false},"body":"Filters inactive Works from Catalog search, but allow for Work Show. \r\n\r\nFixes Sufia issue 2860 https://github.com/projecthydra/sufia/issues/2860\r\nFixes Sufia issue 2828  https://github.com/projecthydra/sufia/issues/2828\r\n\r\nFull functionality depends on CC PR 1097 for suppressed to be updated in SOLR throughout workflow processing. https://github.com/projecthydra/curation_concerns/pull/1097","created_at":"2016-11-16T23:05:36Z","updated_at":"2016-11-16T23:25:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86ebec74a52185e29cd6c13fd12f57129455e2d4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/projecthydra/curation_concerns/pulls/1098/commits","review_comments_url":"https://api.github.com/repos/projecthydra/curation_concerns/pulls/1098/comments","review_comment_url":"https://api.github.com/repos/projecthydra/curation_concerns/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projecthydra/curation_concerns/issues/1098/comments","statuses_url":"https://api.github.com/repos/projecthydra/curation_concerns/statuses/16bc51c52c475fe3db8a79378f7069d910959c25","head":{"label":"projecthydra:bugfix_work_show_admin","ref":"bugfix_work_show_admin","sha":"16bc51c52c475fe3db8a79378f7069d910959c25","user":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"repo":{"id":35563024,"name":"curation_concerns","full_name":"projecthydra/curation_concerns","owner":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra/curation_concerns","description":"A Hydra-based Rails Engine that extends an application, adding the ability to Create, Read, Update and Destroy (CRUD) objects (based on Hydra::Works) and providing a generator for defining object types with custom workflows, views, access controls, etc.","fork":false,"url":"https://api.github.com/repos/projecthydra/curation_concerns","forks_url":"https://api.github.com/repos/projecthydra/curation_concerns/forks","keys_url":"https://api.github.com/repos/projecthydra/curation_concerns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra/curation_concerns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra/curation_concerns/teams","hooks_url":"https://api.github.com/repos/projecthydra/curation_concerns/hooks","issue_events_url":"https://api.github.com/repos/projecthydra/curation_concerns/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra/curation_concerns/events","assignees_url":"https://api.github.com/repos/projecthydra/curation_concerns/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra/curation_concerns/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra/curation_concerns/tags","blobs_url":"https://api.github.com/repos/projecthydra/curation_concerns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra/curation_concerns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra/curation_concerns/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra/curation_concerns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra/curation_concerns/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra/curation_concerns/languages","stargazers_url":"https://api.github.com/repos/projecthydra/curation_concerns/stargazers","contributors_url":"https://api.github.com/repos/projecthydra/curation_concerns/contributors","subscribers_url":"https://api.github.com/repos/projecthydra/curation_concerns/subscribers","subscription_url":"https://api.github.com/repos/projecthydra/curation_concerns/subscription","commits_url":"https://api.github.com/repos/projecthydra/curation_concerns/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra/curation_concerns/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra/curation_concerns/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra/curation_concerns/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra/curation_concerns/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra/curation_concerns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra/curation_concerns/merges","archive_url":"https://api.github.com/repos/projecthydra/curation_concerns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra/curation_concerns/downloads","issues_url":"https://api.github.com/repos/projecthydra/curation_concerns/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra/curation_concerns/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra/curation_concerns/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra/curation_concerns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra/curation_concerns/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra/curation_concerns/releases{/id}","deployments_url":"https://api.github.com/repos/projecthydra/curation_concerns/deployments","created_at":"2015-05-13T17:17:45Z","updated_at":"2016-10-25T05:58:50Z","pushed_at":"2016-11-16T23:05:36Z","git_url":"git://github.com/projecthydra/curation_concerns.git","ssh_url":"git@github.com:projecthydra/curation_concerns.git","clone_url":"https://github.com/projecthydra/curation_concerns.git","svn_url":"https://github.com/projecthydra/curation_concerns","homepage":"","size":4986,"stargazers_count":11,"watchers_count":11,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":82,"forks":23,"open_issues":82,"watchers":11,"default_branch":"master"}},"base":{"label":"projecthydra:master","ref":"master","sha":"377dd5f8e4b0087d8673be94b239f2b2f5aac616","user":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"repo":{"id":35563024,"name":"curation_concerns","full_name":"projecthydra/curation_concerns","owner":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra/curation_concerns","description":"A Hydra-based Rails Engine that extends an application, adding the ability to Create, Read, Update and Destroy (CRUD) objects (based on Hydra::Works) and providing a generator for defining object types with custom workflows, views, access controls, etc.","fork":false,"url":"https://api.github.com/repos/projecthydra/curation_concerns","forks_url":"https://api.github.com/repos/projecthydra/curation_concerns/forks","keys_url":"https://api.github.com/repos/projecthydra/curation_concerns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra/curation_concerns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra/curation_concerns/teams","hooks_url":"https://api.github.com/repos/projecthydra/curation_concerns/hooks","issue_events_url":"https://api.github.com/repos/projecthydra/curation_concerns/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra/curation_concerns/events","assignees_url":"https://api.github.com/repos/projecthydra/curation_concerns/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra/curation_concerns/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra/curation_concerns/tags","blobs_url":"https://api.github.com/repos/projecthydra/curation_concerns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra/curation_concerns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra/curation_concerns/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra/curation_concerns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra/curation_concerns/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra/curation_concerns/languages","stargazers_url":"https://api.github.com/repos/projecthydra/curation_concerns/stargazers","contributors_url":"https://api.github.com/repos/projecthydra/curation_concerns/contributors","subscribers_url":"https://api.github.com/repos/projecthydra/curation_concerns/subscribers","subscription_url":"https://api.github.com/repos/projecthydra/curation_concerns/subscription","commits_url":"https://api.github.com/repos/projecthydra/curation_concerns/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra/curation_concerns/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra/curation_concerns/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra/curation_concerns/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra/curation_concerns/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra/curation_concerns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra/curation_concerns/merges","archive_url":"https://api.github.com/repos/projecthydra/curation_concerns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra/curation_concerns/downloads","issues_url":"https://api.github.com/repos/projecthydra/curation_concerns/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra/curation_concerns/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra/curation_concerns/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra/curation_concerns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra/curation_concerns/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra/curation_concerns/releases{/id}","deployments_url":"https://api.github.com/repos/projecthydra/curation_concerns/deployments","created_at":"2015-05-13T17:17:45Z","updated_at":"2016-10-25T05:58:50Z","pushed_at":"2016-11-16T23:05:36Z","git_url":"git://github.com/projecthydra/curation_concerns.git","ssh_url":"git@github.com:projecthydra/curation_concerns.git","clone_url":"https://github.com/projecthydra/curation_concerns.git","svn_url":"https://github.com/projecthydra/curation_concerns","homepage":"","size":4986,"stargazers_count":11,"watchers_count":11,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":82,"forks":23,"open_issues":82,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projecthydra/curation_concerns/pulls/1098"},"html":{"href":"https://github.com/projecthydra/curation_concerns/pull/1098"},"issue":{"href":"https://api.github.com/repos/projecthydra/curation_concerns/issues/1098"},"comments":{"href":"https://api.github.com/repos/projecthydra/curation_concerns/issues/1098/comments"},"review_comments":{"href":"https://api.github.com/repos/projecthydra/curation_concerns/pulls/1098/comments"},"review_comment":{"href":"https://api.github.com/repos/projecthydra/curation_concerns/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projecthydra/curation_concerns/pulls/1098/commits"},"statuses":{"href":"https://api.github.com/repos/projecthydra/curation_concerns/statuses/16bc51c52c475fe3db8a79378f7069d910959c25"}}}}
{"actor":{"display_login":"revgum"}}