[ARVADOS-WORKBENCH2] updated: 1.3.0-344-g137abc9c

Git user git at public.curoverse.com
Mon Jan 21 10:18:58 EST 2019


Summary of changes:
 src/store/search-bar/search-bar-actions.ts | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

       via  137abc9ccb8cbc0639d5f28d0209a232ca544360 (commit)
      from  9f537cd4ad19c5ae5cd8d1ab1f76581fed7a68c3 (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 137abc9ccb8cbc0639d5f28d0209a232ca544360
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Mon Jan 21 16:18:47 2019 +0100

    searching-by-properties-fix
    
    Feature #14744
    
    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 741fac95..05b6f050 100644
--- a/src/store/search-bar/search-bar-actions.ts
+++ b/src/store/search-bar/search-bar-actions.ts
@@ -480,14 +480,15 @@ export const getFilters = (filterName: string, searchValue: string, sq: ParseSea
         const props = getSearchQueryProperties(sq);
         props.forEach(p => {
             if (p.value) {
-                filter.addILike(`properties.${p.key}`, p.value);
+                filter.addILike(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.PROJECT)
+                    .addILike(`properties.${p.key}`, p.value, GroupContentsResourcePrefix.COLLECTION);
             }
             filter.addExists(p.key);
         });
     }
 
-    return filter        
-    .addIsA("uuid", buildUuidFilter(resourceKind))
+    return filter
+        .addIsA("uuid", buildUuidFilter(resourceKind))
         .getFilters();
 };
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list