Add support for groups regex to the ui
Change-Id: I064f4d39a92bac4724489b372b4c8da9d2e4d0b7
This commit is contained in:
@@ -28,7 +28,11 @@ public class GroupMap extends NativeMap<GroupInfo> {
|
||||
public static void match(String match, int limit, int start, AsyncCallback<GroupMap> cb) {
|
||||
RestApi call = groups();
|
||||
if (match != null) {
|
||||
call.addParameter("m", match);
|
||||
if (match.startsWith("^")) {
|
||||
call.addParameter("r", match);
|
||||
} else {
|
||||
call.addParameter("m", match);
|
||||
}
|
||||
}
|
||||
if (limit > 0) {
|
||||
call.addParameter("n", limit);
|
||||
|
||||
Reference in New Issue
Block a user