mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
parent
73f48b6de5
commit
58be9c0848
@ -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