rename parameter

This commit is contained in:
Claudio Barril 2014-03-08 16:25:13 -03:00
parent db0595ac7e
commit 29894a276e

View File

@ -165,10 +165,10 @@ public class MindmapController extends BaseController {
}
@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 MindmapFilter filter = MindmapFilter.parse(q);
final MindmapFilter filter = MindmapFilter.parse(filterValue);
final List<Collaboration> collaborations = mindmapService.findCollaborations(user);
final List<Mindmap> mindmaps = new ArrayList<Mindmap>();