Merge "Substring search for project: in Search Oracle"
This commit is contained in:
@@ -44,9 +44,9 @@ public class ProjectMap extends NativeMap<ProjectInfo> {
|
|||||||
.get(NativeMap.copyKeysIntoChildren(callback));
|
.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/")
|
new RestApi("/projects/")
|
||||||
.addParameter("p", prefix)
|
.addParameter("m", match)
|
||||||
.addParameter("n", limit)
|
.addParameter("n", limit)
|
||||||
.addParameterRaw("type", "ALL")
|
.addParameterRaw("type", "ALL")
|
||||||
.addParameterTrue("d") // description
|
.addParameterTrue("d") // description
|
||||||
|
Reference in New Issue
Block a user