mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-09 00:43:23 +01:00
parent
0c15789c4b
commit
06fc95c454
@ -165,10 +165,10 @@ public class MindmapController extends BaseController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(method = RequestMethod.GET, value = "/maps/", produces = {"application/json", "application/xml"})
|
@RequestMapping(method = RequestMethod.GET, value = "/maps/", produces = {"application/json", "application/xml"})
|
||||||
public RestMindmapList retrieveList(@RequestParam(required = false) String filterValue) throws IOException {
|
public RestMindmapList retrieveList(@RequestParam(required = false) String q) throws IOException {
|
||||||
final User user = Utils.getUser();
|
final User user = Utils.getUser();
|
||||||
|
|
||||||
final MindmapFilter filter = MindmapFilter.parse(filterValue);
|
final MindmapFilter filter = MindmapFilter.parse(q);
|
||||||
final List<Collaboration> collaborations = mindmapService.findCollaborations(user);
|
final List<Collaboration> collaborations = mindmapService.findCollaborations(user);
|
||||||
|
|
||||||
final List<Mindmap> mindmaps = new ArrayList<Mindmap>();
|
final List<Mindmap> mindmaps = new ArrayList<Mindmap>();
|
||||||
|
Loading…
Reference in New Issue
Block a user