{"action":"opened","number":42,"pull_request":{"url":"https://api.github.com/repos/simplare/stoffi-web/pulls/42","id":39866870,"html_url":"https://github.com/simplare/stoffi-web/pull/42","diff_url":"https://github.com/simplare/stoffi-web/pull/42.diff","patch_url":"https://github.com/simplare/stoffi-web/pull/42.patch","issue_url":"https://api.github.com/repos/simplare/stoffi-web/issues/42","number":42,"state":"open","locked":false,"title":"Improve and polish search","user":{"login":"ephracis","id":247659,"avatar_url":"https://avatars.githubusercontent.com/u/247659?v=3","gravatar_id":"","url":"https://api.github.com/users/ephracis","html_url":"https://github.com/ephracis","followers_url":"https://api.github.com/users/ephracis/followers","following_url":"https://api.github.com/users/ephracis/following{/other_user}","gists_url":"https://api.github.com/users/ephracis/gists{/gist_id}","starred_url":"https://api.github.com/users/ephracis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ephracis/subscriptions","organizations_url":"https://api.github.com/users/ephracis/orgs","repos_url":"https://api.github.com/users/ephracis/repos","events_url":"https://api.github.com/users/ephracis/events{/privacy}","received_events_url":"https://api.github.com/users/ephracis/received_events","type":"User","site_admin":false},"body":"### Handle duplicates\r\nFilter out duplicates from being searched in Solr during search. This\r\ncaused pagination to be weird as the pagination took place before\r\nduplicates were filtered out by our custom scope, and the total number\r\nof hits included duplicates as well.\r\n\r\nThe solution is to add `archetype_id` as a field indexed by Solr (hard\r\nset to 0 for non-duplicatable models) and scope the search to exclude\r\nany hits with a non-zero value for that field.\r\n\r\n### Polish\r\n- Fix some issues with spacing for album list items.\r\n- Fix some issues with layout on iPhone","created_at":"2015-07-13T23:11:19Z","updated_at":"2015-07-13T23:11:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0bc1cceb59460a549378da7c5e227a948901ebb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/simplare/stoffi-web/pulls/42/commits","review_comments_url":"https://api.github.com/repos/simplare/stoffi-web/pulls/42/comments","review_comment_url":"https://api.github.com/repos/simplare/stoffi-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/simplare/stoffi-web/issues/42/comments","statuses_url":"https://api.github.com/repos/simplare/stoffi-web/statuses/3cc9fe153de35e426e43fed404fcd23db3eca07f","head":{"label":"ephracis:iss28-search","ref":"iss28-search","sha":"3cc9fe153de35e426e43fed404fcd23db3eca07f","user":{"login":"ephracis","id":247659,"avatar_url":"https://avatars.githubusercontent.com/u/247659?v=3","gravatar_id":"","url":"https://api.github.com/users/ephracis","html_url":"https://github.com/ephracis","followers_url":"https://api.github.com/users/ephracis/followers","following_url":"https://api.github.com/users/ephracis/following{/other_user}","gists_url":"https://api.github.com/users/ephracis/gists{/gist_id}","starred_url":"https://api.github.com/users/ephracis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ephracis/subscriptions","organizations_url":"https://api.github.com/users/ephracis/orgs","repos_url":"https://api.github.com/users/ephracis/repos","events_url":"https://api.github.com/users/ephracis/events{/privacy}","received_events_url":"https://api.github.com/users/ephracis/received_events","type":"User","site_admin":false},"repo":{"id":34926290,"name":"stoffi-web","full_name":"ephracis/stoffi-web","owner":{"login":"ephracis","id":247659,"avatar_url":"https://avatars.githubusercontent.com/u/247659?v=3","gravatar_id":"","url":"https://api.github.com/users/ephracis","html_url":"https://github.com/ephracis","followers_url":"https://api.github.com/users/ephracis/followers","following_url":"https://api.github.com/users/ephracis/following{/other_user}","gists_url":"https://api.github.com/users/ephracis/gists{/gist_id}","starred_url":"https://api.github.com/users/ephracis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ephracis/subscriptions","organizations_url":"https://api.github.com/users/ephracis/orgs","repos_url":"https://api.github.com/users/ephracis/repos","events_url":"https://api.github.com/users/ephracis/events{/privacy}","received_events_url":"https://api.github.com/users/ephracis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ephracis/stoffi-web","description":"The Stoffi website","fork":true,"url":"https://api.github.com/repos/ephracis/stoffi-web","forks_url":"https://api.github.com/repos/ephracis/stoffi-web/forks","keys_url":"https://api.github.com/repos/ephracis/stoffi-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ephracis/stoffi-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ephracis/stoffi-web/teams","hooks_url":"https://api.github.com/repos/ephracis/stoffi-web/hooks","issue_events_url":"https://api.github.com/repos/ephracis/stoffi-web/issues/events{/number}","events_url":"https://api.github.com/repos/ephracis/stoffi-web/events","assignees_url":"https://api.github.com/repos/ephracis/stoffi-web/assignees{/user}","branches_url":"https://api.github.com/repos/ephracis/stoffi-web/branches{/branch}","tags_url":"https://api.github.com/repos/ephracis/stoffi-web/tags","blobs_url":"https://api.github.com/repos/ephracis/stoffi-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ephracis/stoffi-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ephracis/stoffi-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/ephracis/stoffi-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ephracis/stoffi-web/statuses/{sha}","languages_url":"https://api.github.com/repos/ephracis/stoffi-web/languages","stargazers_url":"https://api.github.com/repos/ephracis/stoffi-web/stargazers","contributors_url":"https://api.github.com/repos/ephracis/stoffi-web/contributors","subscribers_url":"https://api.github.com/repos/ephracis/stoffi-web/subscribers","subscription_url":"https://api.github.com/repos/ephracis/stoffi-web/subscription","commits_url":"https://api.github.com/repos/ephracis/stoffi-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/ephracis/stoffi-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/ephracis/stoffi-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/ephracis/stoffi-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/ephracis/stoffi-web/contents/{+path}","compare_url":"https://api.github.com/repos/ephracis/stoffi-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ephracis/stoffi-web/merges","archive_url":"https://api.github.com/repos/ephracis/stoffi-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ephracis/stoffi-web/downloads","issues_url":"https://api.github.com/repos/ephracis/stoffi-web/issues{/number}","pulls_url":"https://api.github.com/repos/ephracis/stoffi-web/pulls{/number}","milestones_url":"https://api.github.com/repos/ephracis/stoffi-web/milestones{/number}","notifications_url":"https://api.github.com/repos/ephracis/stoffi-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ephracis/stoffi-web/labels{/name}","releases_url":"https://api.github.com/repos/ephracis/stoffi-web/releases{/id}","created_at":"2015-05-01T22:08:02Z","updated_at":"2015-05-01T22:08:06Z","pushed_at":"2015-07-13T23:09:13Z","git_url":"git://github.com/ephracis/stoffi-web.git","ssh_url":"git@github.com:ephracis/stoffi-web.git","clone_url":"https://github.com/ephracis/stoffi-web.git","svn_url":"https://github.com/ephracis/stoffi-web","homepage":"https://stoffiplayer.com","size":28519,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"simplare:develop","ref":"develop","sha":"8efd202aa6b910f401b94ba58840f115311a138a","user":{"login":"simplare","id":6578237,"avatar_url":"https://avatars.githubusercontent.com/u/6578237?v=3","gravatar_id":"","url":"https://api.github.com/users/simplare","html_url":"https://github.com/simplare","followers_url":"https://api.github.com/users/simplare/followers","following_url":"https://api.github.com/users/simplare/following{/other_user}","gists_url":"https://api.github.com/users/simplare/gists{/gist_id}","starred_url":"https://api.github.com/users/simplare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simplare/subscriptions","organizations_url":"https://api.github.com/users/simplare/orgs","repos_url":"https://api.github.com/users/simplare/repos","events_url":"https://api.github.com/users/simplare/events{/privacy}","received_events_url":"https://api.github.com/users/simplare/received_events","type":"Organization","site_admin":false},"repo":{"id":34925554,"name":"stoffi-web","full_name":"simplare/stoffi-web","owner":{"login":"simplare","id":6578237,"avatar_url":"https://avatars.githubusercontent.com/u/6578237?v=3","gravatar_id":"","url":"https://api.github.com/users/simplare","html_url":"https://github.com/simplare","followers_url":"https://api.github.com/users/simplare/followers","following_url":"https://api.github.com/users/simplare/following{/other_user}","gists_url":"https://api.github.com/users/simplare/gists{/gist_id}","starred_url":"https://api.github.com/users/simplare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simplare/subscriptions","organizations_url":"https://api.github.com/users/simplare/orgs","repos_url":"https://api.github.com/users/simplare/repos","events_url":"https://api.github.com/users/simplare/events{/privacy}","received_events_url":"https://api.github.com/users/simplare/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/simplare/stoffi-web","description":"The Stoffi website","fork":false,"url":"https://api.github.com/repos/simplare/stoffi-web","forks_url":"https://api.github.com/repos/simplare/stoffi-web/forks","keys_url":"https://api.github.com/repos/simplare/stoffi-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simplare/stoffi-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simplare/stoffi-web/teams","hooks_url":"https://api.github.com/repos/simplare/stoffi-web/hooks","issue_events_url":"https://api.github.com/repos/simplare/stoffi-web/issues/events{/number}","events_url":"https://api.github.com/repos/simplare/stoffi-web/events","assignees_url":"https://api.github.com/repos/simplare/stoffi-web/assignees{/user}","branches_url":"https://api.github.com/repos/simplare/stoffi-web/branches{/branch}","tags_url":"https://api.github.com/repos/simplare/stoffi-web/tags","blobs_url":"https://api.github.com/repos/simplare/stoffi-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simplare/stoffi-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simplare/stoffi-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/simplare/stoffi-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simplare/stoffi-web/statuses/{sha}","languages_url":"https://api.github.com/repos/simplare/stoffi-web/languages","stargazers_url":"https://api.github.com/repos/simplare/stoffi-web/stargazers","contributors_url":"https://api.github.com/repos/simplare/stoffi-web/contributors","subscribers_url":"https://api.github.com/repos/simplare/stoffi-web/subscribers","subscription_url":"https://api.github.com/repos/simplare/stoffi-web/subscription","commits_url":"https://api.github.com/repos/simplare/stoffi-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/simplare/stoffi-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/simplare/stoffi-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/simplare/stoffi-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/simplare/stoffi-web/contents/{+path}","compare_url":"https://api.github.com/repos/simplare/stoffi-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simplare/stoffi-web/merges","archive_url":"https://api.github.com/repos/simplare/stoffi-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simplare/stoffi-web/downloads","issues_url":"https://api.github.com/repos/simplare/stoffi-web/issues{/number}","pulls_url":"https://api.github.com/repos/simplare/stoffi-web/pulls{/number}","milestones_url":"https://api.github.com/repos/simplare/stoffi-web/milestones{/number}","notifications_url":"https://api.github.com/repos/simplare/stoffi-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simplare/stoffi-web/labels{/name}","releases_url":"https://api.github.com/repos/simplare/stoffi-web/releases{/id}","created_at":"2015-05-01T21:46:20Z","updated_at":"2015-05-01T22:06:38Z","pushed_at":"2015-07-13T23:11:20Z","git_url":"git://github.com/simplare/stoffi-web.git","ssh_url":"git@github.com:simplare/stoffi-web.git","clone_url":"https://github.com/simplare/stoffi-web.git","svn_url":"https://github.com/simplare/stoffi-web","homepage":"https://stoffiplayer.com","size":28583,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/simplare/stoffi-web/pulls/42"},"html":{"href":"https://github.com/simplare/stoffi-web/pull/42"},"issue":{"href":"https://api.github.com/repos/simplare/stoffi-web/issues/42"},"comments":{"href":"https://api.github.com/repos/simplare/stoffi-web/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/simplare/stoffi-web/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/simplare/stoffi-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/simplare/stoffi-web/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/simplare/stoffi-web/statuses/3cc9fe153de35e426e43fed404fcd23db3eca07f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":28,"deletions":1,"changed_files":10}}