[ARVADOS-WORKBENCH2] updated: 1.3.0-341-gaf2ad397
Git user
git at public.curoverse.com
Wed Jan 16 07:25:52 EST 2019
Summary of changes:
src/store/search-bar/search-bar-actions.ts | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
via af2ad3979b1e046749969423623d84511c166818 (commit)
from f65a58f3ce100227dd8bc974fd2548ec0bc97399 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit af2ad3979b1e046749969423623d84511c166818
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date: Wed Jan 16 13:25:40 2019 +0100
refs #14744-inappropriate-results
Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
diff --git a/src/store/search-bar/search-bar-actions.ts b/src/store/search-bar/search-bar-actions.ts
index c81cba04..7d32e609 100644
--- a/src/store/search-bar/search-bar-actions.ts
+++ b/src/store/search-bar/search-bar-actions.ts
@@ -64,6 +64,7 @@ export const loadRecentQueries = () =>
export const searchData = (searchValue: string) =>
async (dispatch: Dispatch, getState: () => RootState) => {
const currentView = getState().searchBar.currentView;
+ dispatch(searchResultsPanelActions.CLEAR());
dispatch(searchBarActions.SET_SEARCH_VALUE(searchValue));
if (searchValue.length > 0) {
dispatch<any>(searchGroups(searchValue, 5));
@@ -77,6 +78,7 @@ export const searchData = (searchValue: string) =>
export const searchAdvanceData = (data: SearchBarAdvanceFormData) =>
async (dispatch: Dispatch) => {
dispatch<any>(saveQuery(data));
+ dispatch(searchResultsPanelActions.CLEAR());
dispatch(searchBarActions.SET_CURRENT_VIEW(SearchView.BASIC));
dispatch(searchBarActions.CLOSE_SEARCH_VIEW());
dispatch(navigateToSearchResults);
@@ -421,7 +423,8 @@ export const getFilters = (filterName: string, searchValue: string, sq: ParseSea
if (!sq.hasKeywords) {
filter
.addILike(filterName, searchValue, GroupContentsResourcePrefix.COLLECTION)
- .addILike(filterName, searchValue, GroupContentsResourcePrefix.PROJECT);
+ .addILike(filterName, searchValue, GroupContentsResourcePrefix.PROJECT)
+ .addILike(filterName, searchValue, GroupContentsResourcePrefix.PROCESS);
if (isTrashed) {
filter.addILike(filterName, searchValue, GroupContentsResourcePrefix.PROCESS);
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list