From 06fc95c4547e74dcc9bad08d2dde5feb78ec5c65 Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Sun, 9 Mar 2014 22:08:46 -0300 Subject: [PATCH] Revert "rename parameter" This reverts commit 29894a276e1b94efa0881fda9d5d349e21872342. --- .../src/main/java/com/wisemapping/rest/MindmapController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wise-webapp/src/main/java/com/wisemapping/rest/MindmapController.java b/wise-webapp/src/main/java/com/wisemapping/rest/MindmapController.java index 3716f3a4..89d79f5d 100644 --- a/wise-webapp/src/main/java/com/wisemapping/rest/MindmapController.java +++ b/wise-webapp/src/main/java/com/wisemapping/rest/MindmapController.java @@ -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 filterValue) throws IOException { + public RestMindmapList retrieveList(@RequestParam(required = false) String q) throws IOException { final User user = Utils.getUser(); - final MindmapFilter filter = MindmapFilter.parse(filterValue); + final MindmapFilter filter = MindmapFilter.parse(q); final List collaborations = mindmapService.findCollaborations(user); final List mindmaps = new ArrayList();