mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-25 23:44:54 +01:00
rename parameter
This commit is contained in:
parent
db0595ac7e
commit
29894a276e
@ -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 q) throws IOException {
|
public RestMindmapList retrieveList(@RequestParam(required = false) String filterValue) throws IOException {
|
||||||
final User user = Utils.getUser();
|
final User user = Utils.getUser();
|
||||||
|
|
||||||
final MindmapFilter filter = MindmapFilter.parse(q);
|
final MindmapFilter filter = MindmapFilter.parse(filterValue);
|
||||||
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