Merge "Substring search for project: in Search Oracle"

This commit is contained in:
David Pursehouse 2017-04-26 08:56:28 +00:00 committed by Gerrit Code Review
commit b719545567

View File

@ -44,9 +44,9 @@ public class ProjectMap extends NativeMap<ProjectInfo> {
.get(NativeMap.copyKeysIntoChildren(callback));
}
public static void suggest(String prefix, int limit, AsyncCallback<ProjectMap> cb) {
public static void suggest(String match, int limit, AsyncCallback<ProjectMap> cb) {
new RestApi("/projects/")
.addParameter("p", prefix)
.addParameter("m", match)
.addParameter("n", limit)
.addParameterRaw("type", "ALL")
.addParameterTrue("d") // description