X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/f0a64666816383d2641d5fa7ea22019441ac4464..32c4bd51747de281957d7bbcd3f90879270ad6fa:/src/store/search-bar/search-bar-actions.ts diff --git a/src/store/search-bar/search-bar-actions.ts b/src/store/search-bar/search-bar-actions.ts index ddaf8f31..c12fcbe4 100644 --- a/src/store/search-bar/search-bar-actions.ts +++ b/src/store/search-bar/search-bar-actions.ts @@ -339,7 +339,7 @@ export const queryToFilters = (query: string) => { } if (data.projectUuid) { - filter.addEqual('ownerUuid', data.projectUuid); + filter.addEqual('owner_uuid', data.projectUuid); } if (data.dateFrom) { @@ -353,8 +353,8 @@ export const queryToFilters = (query: string) => { data.properties.forEach(p => { if (p.value) { filter - .addILike(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.PROJECT) - .addILike(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.COLLECTION); + .addContains(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.PROJECT) + .addContains(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.COLLECTION); } filter.addExists(p.key); });