Fixed project filtration (#4878)

* Fixed project filtration

* Updated version & changelog
main
Boris Sekachev 4 years ago committed by GitHub
parent fe0c38c34b
commit f332d922ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

@ -1,6 +1,6 @@
{
"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];
}
}

Loading…
Cancel
Save