未验证 提交 f332d922 编写于 作者: B Boris Sekachev 提交者: GitHub

Fixed project filtration (#4878)

* Fixed project filtration

* Updated version & changelog
上级 fe0c38c3
......@@ -55,6 +55,7 @@ Skeleton (<https://github.com/cvat-ai/cvat/pull/1>), (<https://github.com/opencv
- Reset password functionality (<https://github.com/cvat-ai/cvat/pull/52>)
- Creating task with cloud storage data (<https://github.com/cvat-ai/cvat/pull/116>)
- Show empty tasks (<https://github.com/cvat-ai/cvat/pull/100>)
- Fixed project filtration (<https://github.com/opencv/cvat/pull/4878>)
### Security
- TDB
......
{
"name": "cvat-core",
"version": "6.0.0",
"version": "6.0.1",
"description": "Part of Computer Vision Tool which presents an interface for client-side integration",
"main": "src/api.ts",
"scripts": {
......
......@@ -230,7 +230,7 @@ const config = require('./config');
checkExclusiveFields(filter, ['id'], ['page']);
const searchParams = {};
for (const key of Object.keys(filter)) {
if (['id', 'page', 'search', 'sort', 'page'].includes(key)) {
if (['id', 'page', 'search', 'sort', 'page', 'filter'].includes(key)) {
searchParams[key] = filter[key];
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册