15781: Uses 'contains' filter operator to search for properties.
[arvados-workbench2.git] / src / store / search-bar / search-bar-actions.ts
index b91dc9d10fdbc1c8a6b0a063a30b9a20fbe96418..c12fcbe49cd10a6e56d9f2d7802cf44daed7afd3 100644 (file)
@@ -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);
     });