[ARVADOS] updated: 1.3.0-1046-gfb53f95a1
Git user
git at public.curoverse.com
Mon Jun 10 15:21:34 UTC 2019
Summary of changes:
services/api/lib/record_filters.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via fb53f95a1069ecda58f809ff237633440601bd32 (commit)
from 333b241e8ef7b1aca7aea85952424586c1f25299 (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 fb53f95a1069ecda58f809ff237633440601bd32
Author: Eric Biagiotti <ebiagiotti at veritasgenetics.com>
Date: Mon Jun 10 11:21:29 2019 -0400
15106: Fix for trgm non-string operators
Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti at veritasgenetics.com>
diff --git a/services/api/lib/record_filters.rb b/services/api/lib/record_filters.rb
index 7b0d48b05..982a9c30b 100644
--- a/services/api/lib/record_filters.rb
+++ b/services/api/lib/record_filters.rb
@@ -44,7 +44,7 @@ module RecordFilters
cond_out = []
- if attrs_in == 'any' && operator.casecmp('ilike') && operand.match('^[%].*[%]$')
+ if attrs_in == 'any' && operator.casecmp('ilike') && (operand.is_a? String) && operand.match('^[%].*[%]$')
# Trigram index search
cond_out << model_class.full_text_trgm + " ilike ?"
param_out << operand
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list