reportportal / service-api

Report portal. Main API Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG: API /api/v1/{project}/item/history cannot return correct when the length of filter.in.testCaseHash is bigger than 20

MingLiu4 opened this issue · comments

When setting "type=comparing" and the number of filter.in.testCaseHash is bigger than 20, there is issue in the return json.
For example, in the following API, there are 25 items in filter.in.testCaseHash:
api/v1/superadmin_personal/item/history?historyDepth=1&type=comparing&filterId=2&launchesLimit=600&isLatest=true&filter.in.testCaseHash=-809227041,-38253239,1839249082,-1522254505,1402253705,901225426,146180582,-1145417100,-1132021116,-1154120765,-43765001,-621623562,1170344421,-1543011688,-1539317604,920890918,538643070,-2113662964,-2085033813,-2056404662,-2027775511,-1970517209,-1941888058,-1913258907,-1884629756

the API only get 20 items (instead of 25) in the return list.