[ARVADOS-WORKBENCH2] updated: 1.4.1-284-g5b0a7e37
Git user
git at public.arvados.org
Wed Feb 19 21:32:53 UTC 2020
Summary of changes:
src/store/search-bar/search-bar-actions.ts | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
via 5b0a7e3709bac2d69100ec87a46f37846aba7d14 (commit)
from e8d27222f4c0852597f168e0b84feeb0b70c3edc (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 5b0a7e3709bac2d69100ec87a46f37846aba7d14
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date: Wed Feb 19 18:31:58 2020 -0300
15781: Replaces 'like' operator with '=' on fallback property matches.
Also, add container requests to the search.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>
diff --git a/src/store/search-bar/search-bar-actions.ts b/src/store/search-bar/search-bar-actions.ts
index 8909ceff..d9dc0a64 100644
--- a/src/store/search-bar/search-bar-actions.ts
+++ b/src/store/search-bar/search-bar-actions.ts
@@ -354,12 +354,14 @@ export const queryToFilters = (query: string, apiRevision: number) => {
if (p.value) {
if (apiRevision < 20200212) {
filter
- .addLike(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.PROJECT)
- .addLike(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.COLLECTION);
+ .addEqual(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.PROJECT)
+ .addEqual(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.COLLECTION)
+ .addEqual(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.PROCESS);
} else {
filter
.addContains(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.PROJECT)
- .addContains(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.COLLECTION);
+ .addContains(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.COLLECTION)
+ .addContains(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.PROCESS);
}
}
filter.addExists(p.key);
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list