From 325867b8ed5f5f521e01e40c8746d9b89b78d1b7 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Mon, 16 Dec 2019 19:08:36 -0300 Subject: [PATCH] 15672: Fixes filter usage on search bar actions. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- src/store/search-bar/search-bar-actions.ts | 2 +- src/store/search-bar/search-bar-tree-actions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/search-bar/search-bar-actions.ts b/src/store/search-bar/search-bar-actions.ts index ddaf8f31..b91dc9d1 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) { diff --git a/src/store/search-bar/search-bar-tree-actions.ts b/src/store/search-bar/search-bar-tree-actions.ts index c97d77b3..76e1b68f 100644 --- a/src/store/search-bar/search-bar-tree-actions.ts +++ b/src/store/search-bar/search-bar-tree-actions.ts @@ -87,7 +87,7 @@ const loadSearchBarProject = (projectUuid: string) => dispatch(treePickerActions.LOAD_TREE_PICKER_NODE({ id: projectUuid, pickerId: SEARCH_BAR_ADVANCED_FORM_PICKER_ID })); const params = { filters: new FilterBuilder() - .addEqual('ownerUuid', projectUuid) + .addEqual('owner_uuid', projectUuid) .getFilters(), order: new OrderBuilder() .addAsc('name') -- 2.30.2