rename parameter

This commit is contained in:
Claudio Barril 2014-03-08 16:25:13 -03:00
parent de515c572c
commit c6b7e48d7a

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>();