Commit 5e1cfb12 authored by Rob Tomsick's avatar Rob Tomsick

Check for query presence anywhere in trade name, not just at start.

parent ec0fea8e
......@@ -134,7 +134,7 @@ implements DictionaryService
Map<UUID, String> names =
this.ctx.select(field(name("id"), UUID.class), f)
.from(D_TABLE)
.where(f.likeIgnoreCase(query + "%"))
.where(f.containsIgnoreCase(query))
.orderBy(f.asc())
.limit(limit)
.fetchMap(field(name("id"), UUID.class), f);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment