{"action":"closed","issue":{"url":"https://api.github.com/repos/xingyunzh/Camps/issues/50","repository_url":"https://api.github.com/repos/xingyunzh/Camps","labels_url":"https://api.github.com/repos/xingyunzh/Camps/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/xingyunzh/Camps/issues/50/comments","events_url":"https://api.github.com/repos/xingyunzh/Camps/issues/50/events","html_url":"https://github.com/xingyunzh/Camps/issues/50","id":197639312,"number":50,"title":"API: Idea list paging is not correct","user":{"login":"williamyu-xingyunzh","id":19419738,"avatar_url":"https://avatars.githubusercontent.com/u/19419738?v=3","gravatar_id":"","url":"https://api.github.com/users/williamyu-xingyunzh","html_url":"https://github.com/williamyu-xingyunzh","followers_url":"https://api.github.com/users/williamyu-xingyunzh/followers","following_url":"https://api.github.com/users/williamyu-xingyunzh/following{/other_user}","gists_url":"https://api.github.com/users/williamyu-xingyunzh/gists{/gist_id}","starred_url":"https://api.github.com/users/williamyu-xingyunzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamyu-xingyunzh/subscriptions","organizations_url":"https://api.github.com/users/williamyu-xingyunzh/orgs","repos_url":"https://api.github.com/users/williamyu-xingyunzh/repos","events_url":"https://api.github.com/users/williamyu-xingyunzh/events{/privacy}","received_events_url":"https://api.github.com/users/williamyu-xingyunzh/received_events","type":"User","site_admin":false},"labels":[{"id":441638151,"url":"https://api.github.com/repos/xingyunzh/Camps/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"rayzhang-xingyunzh","id":19419871,"avatar_url":"https://avatars.githubusercontent.com/u/19419871?v=3","gravatar_id":"","url":"https://api.github.com/users/rayzhang-xingyunzh","html_url":"https://github.com/rayzhang-xingyunzh","followers_url":"https://api.github.com/users/rayzhang-xingyunzh/followers","following_url":"https://api.github.com/users/rayzhang-xingyunzh/following{/other_user}","gists_url":"https://api.github.com/users/rayzhang-xingyunzh/gists{/gist_id}","starred_url":"https://api.github.com/users/rayzhang-xingyunzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayzhang-xingyunzh/subscriptions","organizations_url":"https://api.github.com/users/rayzhang-xingyunzh/orgs","repos_url":"https://api.github.com/users/rayzhang-xingyunzh/repos","events_url":"https://api.github.com/users/rayzhang-xingyunzh/events{/privacy}","received_events_url":"https://api.github.com/users/rayzhang-xingyunzh/received_events","type":"User","site_admin":false},"assignees":[{"login":"rayzhang-xingyunzh","id":19419871,"avatar_url":"https://avatars.githubusercontent.com/u/19419871?v=3","gravatar_id":"","url":"https://api.github.com/users/rayzhang-xingyunzh","html_url":"https://github.com/rayzhang-xingyunzh","followers_url":"https://api.github.com/users/rayzhang-xingyunzh/followers","following_url":"https://api.github.com/users/rayzhang-xingyunzh/following{/other_user}","gists_url":"https://api.github.com/users/rayzhang-xingyunzh/gists{/gist_id}","starred_url":"https://api.github.com/users/rayzhang-xingyunzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayzhang-xingyunzh/subscriptions","organizations_url":"https://api.github.com/users/rayzhang-xingyunzh/orgs","repos_url":"https://api.github.com/users/rayzhang-xingyunzh/repos","events_url":"https://api.github.com/users/rayzhang-xingyunzh/events{/privacy}","received_events_url":"https://api.github.com/users/rayzhang-xingyunzh/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/xingyunzh/Camps/milestones/1","html_url":"https://github.com/xingyunzh/Camps/milestone/1","labels_url":"https://api.github.com/repos/xingyunzh/Camps/milestones/1/labels","id":2181704,"number":1,"title":"MVP","description":null,"creator":{"login":"williamyu-xingyunzh","id":19419738,"avatar_url":"https://avatars.githubusercontent.com/u/19419738?v=3","gravatar_id":"","url":"https://api.github.com/users/williamyu-xingyunzh","html_url":"https://github.com/williamyu-xingyunzh","followers_url":"https://api.github.com/users/williamyu-xingyunzh/followers","following_url":"https://api.github.com/users/williamyu-xingyunzh/following{/other_user}","gists_url":"https://api.github.com/users/williamyu-xingyunzh/gists{/gist_id}","starred_url":"https://api.github.com/users/williamyu-xingyunzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamyu-xingyunzh/subscriptions","organizations_url":"https://api.github.com/users/williamyu-xingyunzh/orgs","repos_url":"https://api.github.com/users/williamyu-xingyunzh/repos","events_url":"https://api.github.com/users/williamyu-xingyunzh/events{/privacy}","received_events_url":"https://api.github.com/users/williamyu-xingyunzh/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":9,"state":"open","created_at":"2016-12-07T14:24:04Z","updated_at":"2016-12-27T05:20:38Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-12-27T03:19:48Z","updated_at":"2016-12-27T05:20:38Z","closed_at":"2016-12-27T05:20:38Z","body":"http://localhost:8002/api/idea/list?pageSize=10&pageNumber=1\r\n\r\nIt does not return the 2nd page, which should be a array of length 7, currently the data is not right, 10 elements in it.\r\n\r\n{\"status\":\"S\",\"body\":{\"total\":17,\"ideas\":[{\"_id\":\"585cb4723429212ab1d254ce\",\"name\":\"另一个team\",\"consultant\":null,\"innovator\":null,\"images\":[],\"relatedAssets\":[],\"editDate\":\"2016-12-23T05:19:46.786Z\",\"createDate\":\"2016-12-23T05:19:46.786Z\",\"__v\":0},{\"_id\":\"5860c55d7a6eff196fbe4a32\",\"name\":\"万能胶囊\",\"innovator\":{\"_id\":\"5860c5387a6eff196fbe4a31\",\"uid\":\"581c1d0477698be00772393f\",\"nickname\":\"Ray\",\"skills\":[],\"roles\":[\"player\"],\"alphabetName\":[\"Ray\"],\"__v\":0},\"images\":[],\"relatedAssets\":[],\"editDate\":\"2016-12-26T07:22:30.343Z\",\"createDate\":\"2016-12-26T07:22:30.343Z\",\"alphabetName\":[\"wan|neng|jiao|nang\"],\"__v\":0},{\"_id\":\"5848a2027a4a06580dfb38ee\",\"name\":\"空中自行车\",\"background\":\"现代社会到处都是机动车，车流密集，人民出行困难，并且非常不环保。大量的含硫尾气排放，对环境造成威胁。\",\"painpoint\":\"人们希望更加环保的方式出行，更加便利。\",\"solution\":\"<p>给自行车加上翅膀。</p>\",\"deadline\":\"2016-12-30T16:00:00.000Z\",\"sector\":\"高精尖\",\"innovator\":{\"_id\":\"58296211daf3d44329926209\",\"nickname\":\"William\",\"uid\":\"5825aeb15f490a225690a3a0\",\"skills\":[\"C++\",\"Javascript\",\"Node.js\",\"Web Development\",\"iOS\"],\"roles\":[\"coach\",\"player\"],\"__v\":0,\"sector\":null,\"name\":\"Di Qian DQ Yu\",\"headImgUrl\":\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Bitmaphead.jpg\"},\"relatedAssets\":[],\"editDate\":\"2016-12-07T23:53:57.785Z\",\"createDate\":\"2016-12-07T23:53:57.785Z\",\"__v\":0,\"state\":\"published\",\"headImgUrl\":\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_bike.png\",\"images\":[\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Australia.png\",\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_China.png\",\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Germany.png\",\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_France.png\",\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Canada.png\",\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Finland.png\",\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_USA.png\"]},{\"_id\":\"585ccc133d48faed480a65d1\",\"name\":\"new idea\",\"background\":\"idea background\",\"painpoint\":\"solve\",\"solution\":\"<p>ok</p>\",\"deadline\":\"2017-01-07T16:00:00.000Z\",\"sector\":\"物联网\",\"innovator\":{\"_id\":\"58296211daf3d44329926209\",\"nickname\":\"William\",\"uid\":\"5825aeb15f490a225690a3a0\",\"skills\":[\"C++\",\"Javascript\",\"Node.js\",\"Web Development\",\"iOS\"],\"roles\":[\"coach\",\"player\"],\"__v\":0,\"sector\":null,\"name\":\"Di Qian DQ Yu\",\"headImgUrl\":\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Bitmaphead.jpg\"},\"images\":[\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Austria.png\"],\"relatedAssets\":[],\"editDate\":\"2016-12-23T06:33:25.603Z\",\"createDate\":\"2016-12-23T06:33:25.603Z\",\"__v\":0,\"state\":\"published\",\"headImgUrl\":\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_e61190ef76c6a7ef48b29924fffaaf51f3de661f.jpg\"},{\"_id\":\"5861daa15e34e9120fb578c7\",\"name\":\"TestForPage\",\"background\":\"1\",\"painpoint\":\"1\",\"solution\":\"<p>1</p>\",\"deadline\":\"2017-01-04T16:00:00.000Z\",\"sector\":\"互联网+\",\"innovator\":{\"_id\":\"58296211daf3d44329926209\",\"nickname\":\"William\",\"uid\":\"5825aeb15f490a225690a3a0\",\"skills\":[\"C++\",\"Javascript\",\"Node.js\",\"Web Development\",\"iOS\"],\"roles\":[\"coach\",\"player\"],\"__v\":0,\"sector\":null,\"name\":\"Di Qian DQ Yu\",\"headImgUrl\":\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Bitmaphead.jpg\"},\"images\":[],\"relatedAssets\":[],\"editDate\":\"2016-12-27T02:26:33.425Z\",\"createDate\":\"2016-12-27T02:26:33.425Z\",\"alphabetName\":[\"TestForPage\"],\"__v\":0,\"state\":\"published\"},{\"_id\":\"5861dab65e34e9120fb578c8\",\"name\":\"1\",\"background\":\"1\",\"painpoint\":\"1\",\"solution\":\"<p>1</p>\",\"deadline\":\"2017-01-03T16:00:00.000Z\",\"sector\":\"互联网+\",\"innovator\":{\"_id\":\"58296211daf3d44329926209\",\"nickname\":\"William\",\"uid\":\"5825aeb15f490a225690a3a0\",\"skills\":[\"C++\",\"Javascript\",\"Node.js\",\"Web Development\",\"iOS\"],\"roles\":[\"coach\",\"player\"],\"__v\":0,\"sector\":null,\"name\":\"Di Qian DQ Yu\",\"headImgUrl\":\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Bitmaphead.jpg\"},\"images\":[],\"relatedAssets\":[],\"editDate\":\"2016-12-27T02:26:33.425Z\",\"createDate\":\"2016-12-27T02:26:33.425Z\",\"alphabetName\":[\"1\"],\"__v\":0,\"state\":\"published\"},{\"_id\":\"5861dac55e34e9120fb578c9\",\"name\":\"2\",\"background\":\"2\",\"painpoint\":\"2\",\"solution\":\"<p>2</p>\",\"deadline\":\"2016-12-29T16:00:00.000Z\",\"sector\":\"物联网\",\"innovator\":{\"_id\":\"58296211daf3d44329926209\",\"nickname\":\"William\",\"uid\":\"5825aeb15f490a225690a3a0\",\"skills\":[\"C++\",\"Javascript\",\"Node.js\",\"Web Development\",\"iOS\"],\"roles\":[\"coach\",\"player\"],\"__v\":0,\"sector\":null,\"name\":\"Di Qian DQ Yu\",\"headImgUrl\":\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Bitmaphead.jpg\"},\"images\":[],\"relatedAssets\":[],\"editDate\":\"2016-12-27T02:26:33.425Z\",\"createDate\":\"2016-12-27T02:26:33.425Z\",\"alphabetName\":[\"2\"],\"__v\":0,\"state\":\"published\"},{\"_id\":\"5861dad15e34e9120fb578ca\",\"name\":\"3\",\"background\":\"3\",\"painpoint\":\"3\",\"solution\":\"<p>3</p>\",\"deadline\":\"2017-01-05T16:00:00.000Z\",\"innovator\":{\"_id\":\"58296211daf3d44329926209\",\"nickname\":\"William\",\"uid\":\"5825aeb15f490a225690a3a0\",\"skills\":[\"C++\",\"Javascript\",\"Node.js\",\"Web Development\",\"iOS\"],\"roles\":[\"coach\",\"player\"],\"__v\":0,\"sector\":null,\"name\":\"Di Qian DQ Yu\",\"headImgUrl\":\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Bitmaphead.jpg\"},\"images\":[],\"relatedAssets\":[],\"editDate\":\"2016-12-27T02:26:33.425Z\",\"createDate\":\"2016-12-27T02:26:33.425Z\",\"alphabetName\":[\"3\"],\"__v\":0},{\"_id\":\"5861dadf5e34e9120fb578cb\",\"name\":\"3\",\"background\":\"3\",\"painpoint\":\"3\",\"solution\":\"<p>3</p>\",\"deadline\":\"2017-01-05T16:00:00.000Z\",\"innovator\":{\"_id\":\"58296211daf3d44329926209\",\"nickname\":\"William\",\"uid\":\"5825aeb15f490a225690a3a0\",\"skills\":[\"C++\",\"Javascript\",\"Node.js\",\"Web Development\",\"iOS\"],\"roles\":[\"coach\",\"player\"],\"__v\":0,\"sector\":null,\"name\":\"Di Qian DQ Yu\",\"headImgUrl\":\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Bitmaphead.jpg\"},\"images\":[],\"relatedAssets\":[],\"editDate\":\"2016-12-27T02:26:33.425Z\",\"createDate\":\"2016-12-27T02:26:33.425Z\",\"alphabetName\":[\"3\"],\"__v\":0},{\"_id\":\"5861dae85e34e9120fb578cc\",\"name\":\"3\",\"background\":\"3\",\"painpoint\":\"3\",\"solution\":\"<p>3</p>\",\"deadline\":\"2017-01-05T16:00:00.000Z\",\"sector\":\"互联网+\",\"innovator\":{\"_id\":\"58296211daf3d44329926209\",\"nickname\":\"William\",\"uid\":\"5825aeb15f490a225690a3a0\",\"skills\":[\"C++\",\"Javascript\",\"Node.js\",\"Web Development\",\"iOS\"],\"roles\":[\"coach\",\"player\"],\"__v\":0,\"sector\":null,\"name\":\"Di Qian DQ Yu\",\"headImgUrl\":\"http://campro.oss-cn-shanghai.aliyuncs.com/u5825aeb15f490a225690a3a0_Bitmaphead.jpg\"},\"images\":[],\"relatedAssets\":[],\"editDate\":\"2016-12-27T02:26:33.425Z\",\"createDate\":\"2016-12-27T02:26:33.425Z\",\"alphabetName\":[\"3\"],\"__v\":0,\"state\":\"published\"}]}}"}}
{"actor":{"display_login":"williamyu-xingyunzh"}}