GrailsInAction/graina2 — pull request #2 by danhyun (2013-03-17 14:17:48+00:00)
Title: Search query isn't working

The data-binding to the parameter of `UserController.result` was looking for `params.query`.
As a result, my `users` object was always size 0.
Either we need to update `search.gsp` to change the name of the textfield from `loginId` to `query` or adjust the parameter name in `UserController.result` to be `loginId` instead of `query`. I chose the second because `loginId` is more consistent with the rest of the app.