{"action":"opened","number":88,"pull_request":{"url":"https://api.github.com/repos/llabake/Hello-Books/pulls/88","id":191519272,"html_url":"https://github.com/llabake/Hello-Books/pull/88","diff_url":"https://github.com/llabake/Hello-Books/pull/88.diff","patch_url":"https://github.com/llabake/Hello-Books/pull/88.patch","issue_url":"https://api.github.com/repos/llabake/Hello-Books/issues/88","number":88,"state":"open","locked":false,"title":"bug(pagination count): fix pagination set count error","user":{"login":"llabake","id":29184825,"avatar_url":"https://avatars2.githubusercontent.com/u/29184825?v=4","gravatar_id":"","url":"https://api.github.com/users/llabake","html_url":"https://github.com/llabake","followers_url":"https://api.github.com/users/llabake/followers","following_url":"https://api.github.com/users/llabake/following{/other_user}","gists_url":"https://api.github.com/users/llabake/gists{/gist_id}","starred_url":"https://api.github.com/users/llabake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llabake/subscriptions","organizations_url":"https://api.github.com/users/llabake/orgs","repos_url":"https://api.github.com/users/llabake/repos","events_url":"https://api.github.com/users/llabake/events{/privacy}","received_events_url":"https://api.github.com/users/llabake/received_events","type":"User","site_admin":false},"body":"\r\n#### What does this PR do?\r\n\r\nThis PR fixes pagination set count being increased on included models\r\n\r\n#### Description of Task to be completed?\r\n* add distinct true to all find and count all query\r\n\r\n#### How should this be manually tested?\r\n\r\n* clone the repo\r\n* cd into the project directory\r\n* run `npm install` to install all the dependency\r\n* run `npm run start-dev` to start the back-end server\r\n* run `npm run dev` to start the front-end server\r\n* view a page that returns an array the count should be the expected count from the database\r\n#### What are the relevant pivotal tracker stories?\r\n\r\n[finishes #157975743]\r\n\r\n#### Any background context you want to add?\r\n\r\nN/A\r\n\r\nScreenshots\r\n\r\nN/A\r\n","created_at":"2018-05-30T16:59:59Z","updated_at":"2018-05-30T16:59:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/llabake/Hello-Books/pulls/88/commits","review_comments_url":"https://api.github.com/repos/llabake/Hello-Books/pulls/88/comments","review_comment_url":"https://api.github.com/repos/llabake/Hello-Books/pulls/comments{/number}","comments_url":"https://api.github.com/repos/llabake/Hello-Books/issues/88/comments","statuses_url":"https://api.github.com/repos/llabake/Hello-Books/statuses/a63275c0c602be5a1e14c12696165cef846d4590","head":{"label":"llabake:bg-fix-pagination-set-count-157975743","ref":"bg-fix-pagination-set-count-157975743","sha":"a63275c0c602be5a1e14c12696165cef846d4590","user":{"login":"llabake","id":29184825,"avatar_url":"https://avatars2.githubusercontent.com/u/29184825?v=4","gravatar_id":"","url":"https://api.github.com/users/llabake","html_url":"https://github.com/llabake","followers_url":"https://api.github.com/users/llabake/followers","following_url":"https://api.github.com/users/llabake/following{/other_user}","gists_url":"https://api.github.com/users/llabake/gists{/gist_id}","starred_url":"https://api.github.com/users/llabake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llabake/subscriptions","organizations_url":"https://api.github.com/users/llabake/orgs","repos_url":"https://api.github.com/users/llabake/repos","events_url":"https://api.github.com/users/llabake/events{/privacy}","received_events_url":"https://api.github.com/users/llabake/received_events","type":"User","site_admin":false},"repo":{"id":105932161,"name":"Hello-Books","full_name":"llabake/Hello-Books","owner":{"login":"llabake","id":29184825,"avatar_url":"https://avatars2.githubusercontent.com/u/29184825?v=4","gravatar_id":"","url":"https://api.github.com/users/llabake","html_url":"https://github.com/llabake","followers_url":"https://api.github.com/users/llabake/followers","following_url":"https://api.github.com/users/llabake/following{/other_user}","gists_url":"https://api.github.com/users/llabake/gists{/gist_id}","starred_url":"https://api.github.com/users/llabake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llabake/subscriptions","organizations_url":"https://api.github.com/users/llabake/orgs","repos_url":"https://api.github.com/users/llabake/repos","events_url":"https://api.github.com/users/llabake/events{/privacy}","received_events_url":"https://api.github.com/users/llabake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/llabake/Hello-Books","description":null,"fork":false,"url":"https://api.github.com/repos/llabake/Hello-Books","forks_url":"https://api.github.com/repos/llabake/Hello-Books/forks","keys_url":"https://api.github.com/repos/llabake/Hello-Books/keys{/key_id}","collaborators_url":"https://api.github.com/repos/llabake/Hello-Books/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/llabake/Hello-Books/teams","hooks_url":"https://api.github.com/repos/llabake/Hello-Books/hooks","issue_events_url":"https://api.github.com/repos/llabake/Hello-Books/issues/events{/number}","events_url":"https://api.github.com/repos/llabake/Hello-Books/events","assignees_url":"https://api.github.com/repos/llabake/Hello-Books/assignees{/user}","branches_url":"https://api.github.com/repos/llabake/Hello-Books/branches{/branch}","tags_url":"https://api.github.com/repos/llabake/Hello-Books/tags","blobs_url":"https://api.github.com/repos/llabake/Hello-Books/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/llabake/Hello-Books/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/llabake/Hello-Books/git/refs{/sha}","trees_url":"https://api.github.com/repos/llabake/Hello-Books/git/trees{/sha}","statuses_url":"https://api.github.com/repos/llabake/Hello-Books/statuses/{sha}","languages_url":"https://api.github.com/repos/llabake/Hello-Books/languages","stargazers_url":"https://api.github.com/repos/llabake/Hello-Books/stargazers","contributors_url":"https://api.github.com/repos/llabake/Hello-Books/contributors","subscribers_url":"https://api.github.com/repos/llabake/Hello-Books/subscribers","subscription_url":"https://api.github.com/repos/llabake/Hello-Books/subscription","commits_url":"https://api.github.com/repos/llabake/Hello-Books/commits{/sha}","git_commits_url":"https://api.github.com/repos/llabake/Hello-Books/git/commits{/sha}","comments_url":"https://api.github.com/repos/llabake/Hello-Books/comments{/number}","issue_comment_url":"https://api.github.com/repos/llabake/Hello-Books/issues/comments{/number}","contents_url":"https://api.github.com/repos/llabake/Hello-Books/contents/{+path}","compare_url":"https://api.github.com/repos/llabake/Hello-Books/compare/{base}...{head}","merges_url":"https://api.github.com/repos/llabake/Hello-Books/merges","archive_url":"https://api.github.com/repos/llabake/Hello-Books/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/llabake/Hello-Books/downloads","issues_url":"https://api.github.com/repos/llabake/Hello-Books/issues{/number}","pulls_url":"https://api.github.com/repos/llabake/Hello-Books/pulls{/number}","milestones_url":"https://api.github.com/repos/llabake/Hello-Books/milestones{/number}","notifications_url":"https://api.github.com/repos/llabake/Hello-Books/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/llabake/Hello-Books/labels{/name}","releases_url":"https://api.github.com/repos/llabake/Hello-Books/releases{/id}","deployments_url":"https://api.github.com/repos/llabake/Hello-Books/deployments","created_at":"2017-10-05T19:35:17Z","updated_at":"2018-05-28T16:50:39Z","pushed_at":"2018-05-30T16:57:16Z","git_url":"git://github.com/llabake/Hello-Books.git","ssh_url":"git@github.com:llabake/Hello-Books.git","clone_url":"https://github.com/llabake/Hello-Books.git","svn_url":"https://github.com/llabake/Hello-Books","homepage":null,"size":56268,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3,"open_issues":3,"watchers":1,"default_branch":"develop"}},"base":{"label":"llabake:develop","ref":"develop","sha":"e221ecb9f44c6fb927c0c4bd7189977e4875691c","user":{"login":"llabake","id":29184825,"avatar_url":"https://avatars2.githubusercontent.com/u/29184825?v=4","gravatar_id":"","url":"https://api.github.com/users/llabake","html_url":"https://github.com/llabake","followers_url":"https://api.github.com/users/llabake/followers","following_url":"https://api.github.com/users/llabake/following{/other_user}","gists_url":"https://api.github.com/users/llabake/gists{/gist_id}","starred_url":"https://api.github.com/users/llabake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llabake/subscriptions","organizations_url":"https://api.github.com/users/llabake/orgs","repos_url":"https://api.github.com/users/llabake/repos","events_url":"https://api.github.com/users/llabake/events{/privacy}","received_events_url":"https://api.github.com/users/llabake/received_events","type":"User","site_admin":false},"repo":{"id":105932161,"name":"Hello-Books","full_name":"llabake/Hello-Books","owner":{"login":"llabake","id":29184825,"avatar_url":"https://avatars2.githubusercontent.com/u/29184825?v=4","gravatar_id":"","url":"https://api.github.com/users/llabake","html_url":"https://github.com/llabake","followers_url":"https://api.github.com/users/llabake/followers","following_url":"https://api.github.com/users/llabake/following{/other_user}","gists_url":"https://api.github.com/users/llabake/gists{/gist_id}","starred_url":"https://api.github.com/users/llabake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llabake/subscriptions","organizations_url":"https://api.github.com/users/llabake/orgs","repos_url":"https://api.github.com/users/llabake/repos","events_url":"https://api.github.com/users/llabake/events{/privacy}","received_events_url":"https://api.github.com/users/llabake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/llabake/Hello-Books","description":null,"fork":false,"url":"https://api.github.com/repos/llabake/Hello-Books","forks_url":"https://api.github.com/repos/llabake/Hello-Books/forks","keys_url":"https://api.github.com/repos/llabake/Hello-Books/keys{/key_id}","collaborators_url":"https://api.github.com/repos/llabake/Hello-Books/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/llabake/Hello-Books/teams","hooks_url":"https://api.github.com/repos/llabake/Hello-Books/hooks","issue_events_url":"https://api.github.com/repos/llabake/Hello-Books/issues/events{/number}","events_url":"https://api.github.com/repos/llabake/Hello-Books/events","assignees_url":"https://api.github.com/repos/llabake/Hello-Books/assignees{/user}","branches_url":"https://api.github.com/repos/llabake/Hello-Books/branches{/branch}","tags_url":"https://api.github.com/repos/llabake/Hello-Books/tags","blobs_url":"https://api.github.com/repos/llabake/Hello-Books/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/llabake/Hello-Books/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/llabake/Hello-Books/git/refs{/sha}","trees_url":"https://api.github.com/repos/llabake/Hello-Books/git/trees{/sha}","statuses_url":"https://api.github.com/repos/llabake/Hello-Books/statuses/{sha}","languages_url":"https://api.github.com/repos/llabake/Hello-Books/languages","stargazers_url":"https://api.github.com/repos/llabake/Hello-Books/stargazers","contributors_url":"https://api.github.com/repos/llabake/Hello-Books/contributors","subscribers_url":"https://api.github.com/repos/llabake/Hello-Books/subscribers","subscription_url":"https://api.github.com/repos/llabake/Hello-Books/subscription","commits_url":"https://api.github.com/repos/llabake/Hello-Books/commits{/sha}","git_commits_url":"https://api.github.com/repos/llabake/Hello-Books/git/commits{/sha}","comments_url":"https://api.github.com/repos/llabake/Hello-Books/comments{/number}","issue_comment_url":"https://api.github.com/repos/llabake/Hello-Books/issues/comments{/number}","contents_url":"https://api.github.com/repos/llabake/Hello-Books/contents/{+path}","compare_url":"https://api.github.com/repos/llabake/Hello-Books/compare/{base}...{head}","merges_url":"https://api.github.com/repos/llabake/Hello-Books/merges","archive_url":"https://api.github.com/repos/llabake/Hello-Books/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/llabake/Hello-Books/downloads","issues_url":"https://api.github.com/repos/llabake/Hello-Books/issues{/number}","pulls_url":"https://api.github.com/repos/llabake/Hello-Books/pulls{/number}","milestones_url":"https://api.github.com/repos/llabake/Hello-Books/milestones{/number}","notifications_url":"https://api.github.com/repos/llabake/Hello-Books/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/llabake/Hello-Books/labels{/name}","releases_url":"https://api.github.com/repos/llabake/Hello-Books/releases{/id}","deployments_url":"https://api.github.com/repos/llabake/Hello-Books/deployments","created_at":"2017-10-05T19:35:17Z","updated_at":"2018-05-28T16:50:39Z","pushed_at":"2018-05-30T16:57:16Z","git_url":"git://github.com/llabake/Hello-Books.git","ssh_url":"git@github.com:llabake/Hello-Books.git","clone_url":"https://github.com/llabake/Hello-Books.git","svn_url":"https://github.com/llabake/Hello-Books","homepage":null,"size":56268,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3,"open_issues":3,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/llabake/Hello-Books/pulls/88"},"html":{"href":"https://github.com/llabake/Hello-Books/pull/88"},"issue":{"href":"https://api.github.com/repos/llabake/Hello-Books/issues/88"},"comments":{"href":"https://api.github.com/repos/llabake/Hello-Books/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/llabake/Hello-Books/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/llabake/Hello-Books/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/llabake/Hello-Books/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/llabake/Hello-Books/statuses/a63275c0c602be5a1e14c12696165cef846d4590"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":55,"deletions":42,"changed_files":4}}
{"actor":{"display_login":"llabake"}}