{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/Livefyre/thread/pulls/6","id":55828183,"html_url":"https://github.com/Livefyre/thread/pull/6","diff_url":"https://github.com/Livefyre/thread/pull/6.diff","patch_url":"https://github.com/Livefyre/thread/pull/6.patch","issue_url":"https://api.github.com/repos/Livefyre/thread/issues/6","number":6,"state":"closed","locked":false,"title":"LF-20847: Fix issue when comparing incorrect types","user":{"login":"markdoten","id":521957,"avatar_url":"https://avatars.githubusercontent.com/u/521957?v=3","gravatar_id":"","url":"https://api.github.com/users/markdoten","html_url":"https://github.com/markdoten","followers_url":"https://api.github.com/users/markdoten/followers","following_url":"https://api.github.com/users/markdoten/following{/other_user}","gists_url":"https://api.github.com/users/markdoten/gists{/gist_id}","starred_url":"https://api.github.com/users/markdoten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdoten/subscriptions","organizations_url":"https://api.github.com/users/markdoten/orgs","repos_url":"https://api.github.com/users/markdoten/repos","events_url":"https://api.github.com/users/markdoten/events{/privacy}","received_events_url":"https://api.github.com/users/markdoten/received_events","type":"User","site_admin":false},"body":"https://livefyre.atlassian.net/browse/LF-20847\r\n\r\nThe comparators expect content views, but replies are sorted as content. This causes exceptions and incorrect sorting. Creating views before sorting solves this problem.","created_at":"2016-01-12T22:37:20Z","updated_at":"2016-01-21T22:06:49Z","closed_at":"2016-01-21T22:06:49Z","merged_at":"2016-01-21T22:06:49Z","merge_commit_sha":"f6849ab2949606fc5f3c99e909cd9a5c39650684","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Livefyre/thread/pulls/6/commits","review_comments_url":"https://api.github.com/repos/Livefyre/thread/pulls/6/comments","review_comment_url":"https://api.github.com/repos/Livefyre/thread/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Livefyre/thread/issues/6/comments","statuses_url":"https://api.github.com/repos/Livefyre/thread/statuses/b628334957108b150b8d5ad94f22fc44c834ed57","head":{"label":"Livefyre:LF_20847","ref":"LF_20847","sha":"b628334957108b150b8d5ad94f22fc44c834ed57","user":{"login":"Livefyre","id":404382,"avatar_url":"https://avatars.githubusercontent.com/u/404382?v=3","gravatar_id":"","url":"https://api.github.com/users/Livefyre","html_url":"https://github.com/Livefyre","followers_url":"https://api.github.com/users/Livefyre/followers","following_url":"https://api.github.com/users/Livefyre/following{/other_user}","gists_url":"https://api.github.com/users/Livefyre/gists{/gist_id}","starred_url":"https://api.github.com/users/Livefyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Livefyre/subscriptions","organizations_url":"https://api.github.com/users/Livefyre/orgs","repos_url":"https://api.github.com/users/Livefyre/repos","events_url":"https://api.github.com/users/Livefyre/events{/privacy}","received_events_url":"https://api.github.com/users/Livefyre/received_events","type":"Organization","site_admin":false},"repo":{"id":24116453,"name":"thread","full_name":"Livefyre/thread","owner":{"login":"Livefyre","id":404382,"avatar_url":"https://avatars.githubusercontent.com/u/404382?v=3","gravatar_id":"","url":"https://api.github.com/users/Livefyre","html_url":"https://github.com/Livefyre","followers_url":"https://api.github.com/users/Livefyre/followers","following_url":"https://api.github.com/users/Livefyre/following{/other_user}","gists_url":"https://api.github.com/users/Livefyre/gists{/gist_id}","starred_url":"https://api.github.com/users/Livefyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Livefyre/subscriptions","organizations_url":"https://api.github.com/users/Livefyre/orgs","repos_url":"https://api.github.com/users/Livefyre/repos","events_url":"https://api.github.com/users/Livefyre/events{/privacy}","received_events_url":"https://api.github.com/users/Livefyre/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Livefyre/thread","description":"A JavaScript module to be used in conjunction with Streamhub SDK to display replies of a Content","fork":true,"url":"https://api.github.com/repos/Livefyre/thread","forks_url":"https://api.github.com/repos/Livefyre/thread/forks","keys_url":"https://api.github.com/repos/Livefyre/thread/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Livefyre/thread/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Livefyre/thread/teams","hooks_url":"https://api.github.com/repos/Livefyre/thread/hooks","issue_events_url":"https://api.github.com/repos/Livefyre/thread/issues/events{/number}","events_url":"https://api.github.com/repos/Livefyre/thread/events","assignees_url":"https://api.github.com/repos/Livefyre/thread/assignees{/user}","branches_url":"https://api.github.com/repos/Livefyre/thread/branches{/branch}","tags_url":"https://api.github.com/repos/Livefyre/thread/tags","blobs_url":"https://api.github.com/repos/Livefyre/thread/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Livefyre/thread/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Livefyre/thread/git/refs{/sha}","trees_url":"https://api.github.com/repos/Livefyre/thread/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Livefyre/thread/statuses/{sha}","languages_url":"https://api.github.com/repos/Livefyre/thread/languages","stargazers_url":"https://api.github.com/repos/Livefyre/thread/stargazers","contributors_url":"https://api.github.com/repos/Livefyre/thread/contributors","subscribers_url":"https://api.github.com/repos/Livefyre/thread/subscribers","subscription_url":"https://api.github.com/repos/Livefyre/thread/subscription","commits_url":"https://api.github.com/repos/Livefyre/thread/commits{/sha}","git_commits_url":"https://api.github.com/repos/Livefyre/thread/git/commits{/sha}","comments_url":"https://api.github.com/repos/Livefyre/thread/comments{/number}","issue_comment_url":"https://api.github.com/repos/Livefyre/thread/issues/comments{/number}","contents_url":"https://api.github.com/repos/Livefyre/thread/contents/{+path}","compare_url":"https://api.github.com/repos/Livefyre/thread/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Livefyre/thread/merges","archive_url":"https://api.github.com/repos/Livefyre/thread/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Livefyre/thread/downloads","issues_url":"https://api.github.com/repos/Livefyre/thread/issues{/number}","pulls_url":"https://api.github.com/repos/Livefyre/thread/pulls{/number}","milestones_url":"https://api.github.com/repos/Livefyre/thread/milestones{/number}","notifications_url":"https://api.github.com/repos/Livefyre/thread/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Livefyre/thread/labels{/name}","releases_url":"https://api.github.com/repos/Livefyre/thread/releases{/id}","created_at":"2014-09-16T20:28:04Z","updated_at":"2015-02-10T00:29:35Z","pushed_at":"2016-01-21T22:06:50Z","git_url":"git://github.com/Livefyre/thread.git","ssh_url":"git@github.com:Livefyre/thread.git","clone_url":"https://github.com/Livefyre/thread.git","svn_url":"https://github.com/Livefyre/thread","homepage":"","size":327,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Livefyre:master","ref":"master","sha":"843ae71da86928cbf482056edfaa488905f716bd","user":{"login":"Livefyre","id":404382,"avatar_url":"https://avatars.githubusercontent.com/u/404382?v=3","gravatar_id":"","url":"https://api.github.com/users/Livefyre","html_url":"https://github.com/Livefyre","followers_url":"https://api.github.com/users/Livefyre/followers","following_url":"https://api.github.com/users/Livefyre/following{/other_user}","gists_url":"https://api.github.com/users/Livefyre/gists{/gist_id}","starred_url":"https://api.github.com/users/Livefyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Livefyre/subscriptions","organizations_url":"https://api.github.com/users/Livefyre/orgs","repos_url":"https://api.github.com/users/Livefyre/repos","events_url":"https://api.github.com/users/Livefyre/events{/privacy}","received_events_url":"https://api.github.com/users/Livefyre/received_events","type":"Organization","site_admin":false},"repo":{"id":24116453,"name":"thread","full_name":"Livefyre/thread","owner":{"login":"Livefyre","id":404382,"avatar_url":"https://avatars.githubusercontent.com/u/404382?v=3","gravatar_id":"","url":"https://api.github.com/users/Livefyre","html_url":"https://github.com/Livefyre","followers_url":"https://api.github.com/users/Livefyre/followers","following_url":"https://api.github.com/users/Livefyre/following{/other_user}","gists_url":"https://api.github.com/users/Livefyre/gists{/gist_id}","starred_url":"https://api.github.com/users/Livefyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Livefyre/subscriptions","organizations_url":"https://api.github.com/users/Livefyre/orgs","repos_url":"https://api.github.com/users/Livefyre/repos","events_url":"https://api.github.com/users/Livefyre/events{/privacy}","received_events_url":"https://api.github.com/users/Livefyre/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Livefyre/thread","description":"A JavaScript module to be used in conjunction with Streamhub SDK to display replies of a Content","fork":true,"url":"https://api.github.com/repos/Livefyre/thread","forks_url":"https://api.github.com/repos/Livefyre/thread/forks","keys_url":"https://api.github.com/repos/Livefyre/thread/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Livefyre/thread/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Livefyre/thread/teams","hooks_url":"https://api.github.com/repos/Livefyre/thread/hooks","issue_events_url":"https://api.github.com/repos/Livefyre/thread/issues/events{/number}","events_url":"https://api.github.com/repos/Livefyre/thread/events","assignees_url":"https://api.github.com/repos/Livefyre/thread/assignees{/user}","branches_url":"https://api.github.com/repos/Livefyre/thread/branches{/branch}","tags_url":"https://api.github.com/repos/Livefyre/thread/tags","blobs_url":"https://api.github.com/repos/Livefyre/thread/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Livefyre/thread/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Livefyre/thread/git/refs{/sha}","trees_url":"https://api.github.com/repos/Livefyre/thread/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Livefyre/thread/statuses/{sha}","languages_url":"https://api.github.com/repos/Livefyre/thread/languages","stargazers_url":"https://api.github.com/repos/Livefyre/thread/stargazers","contributors_url":"https://api.github.com/repos/Livefyre/thread/contributors","subscribers_url":"https://api.github.com/repos/Livefyre/thread/subscribers","subscription_url":"https://api.github.com/repos/Livefyre/thread/subscription","commits_url":"https://api.github.com/repos/Livefyre/thread/commits{/sha}","git_commits_url":"https://api.github.com/repos/Livefyre/thread/git/commits{/sha}","comments_url":"https://api.github.com/repos/Livefyre/thread/comments{/number}","issue_comment_url":"https://api.github.com/repos/Livefyre/thread/issues/comments{/number}","contents_url":"https://api.github.com/repos/Livefyre/thread/contents/{+path}","compare_url":"https://api.github.com/repos/Livefyre/thread/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Livefyre/thread/merges","archive_url":"https://api.github.com/repos/Livefyre/thread/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Livefyre/thread/downloads","issues_url":"https://api.github.com/repos/Livefyre/thread/issues{/number}","pulls_url":"https://api.github.com/repos/Livefyre/thread/pulls{/number}","milestones_url":"https://api.github.com/repos/Livefyre/thread/milestones{/number}","notifications_url":"https://api.github.com/repos/Livefyre/thread/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Livefyre/thread/labels{/name}","releases_url":"https://api.github.com/repos/Livefyre/thread/releases{/id}","created_at":"2014-09-16T20:28:04Z","updated_at":"2015-02-10T00:29:35Z","pushed_at":"2016-01-21T22:06:50Z","git_url":"git://github.com/Livefyre/thread.git","ssh_url":"git@github.com:Livefyre/thread.git","clone_url":"https://github.com/Livefyre/thread.git","svn_url":"https://github.com/Livefyre/thread","homepage":"","size":327,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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"}},"_links":{"self":{"href":"https://api.github.com/repos/Livefyre/thread/pulls/6"},"html":{"href":"https://github.com/Livefyre/thread/pull/6"},"issue":{"href":"https://api.github.com/repos/Livefyre/thread/issues/6"},"comments":{"href":"https://api.github.com/repos/Livefyre/thread/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/Livefyre/thread/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/Livefyre/thread/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Livefyre/thread/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/Livefyre/thread/statuses/b628334957108b150b8d5ad94f22fc44c834ed57"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"markdoten","id":521957,"avatar_url":"https://avatars.githubusercontent.com/u/521957?v=3","gravatar_id":"","url":"https://api.github.com/users/markdoten","html_url":"https://github.com/markdoten","followers_url":"https://api.github.com/users/markdoten/followers","following_url":"https://api.github.com/users/markdoten/following{/other_user}","gists_url":"https://api.github.com/users/markdoten/gists{/gist_id}","starred_url":"https://api.github.com/users/markdoten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdoten/subscriptions","organizations_url":"https://api.github.com/users/markdoten/orgs","repos_url":"https://api.github.com/users/markdoten/repos","events_url":"https://api.github.com/users/markdoten/events{/privacy}","received_events_url":"https://api.github.com/users/markdoten/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":6,"changed_files":3}}