Permalink
Browse files

make all filter list plugins in alphabetical order

  • Loading branch information...
1 parent 114a003 commit 5bb9ce596f32e6648a6efe7dc894c67158963ecc @graemerocher graemerocher committed Nov 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 grails-app/controllers/org/grails/plugin/PluginController.groovy
@@ -64,7 +64,7 @@ class PluginController {
def filter = params.filter?.toString() ?: "featured"
if (params.tag) {
filter = "all"
- (plugins, pluginCount) = pluginService.listPluginsByTagWithTotal(params.tag, max: maxResults, offset: offset)
+ (plugins, pluginCount) = pluginService.listPluginsByTagWithTotal(params.tag, max: maxResults, offset: offset, sort:'name')
}
else {
(plugins, pluginCount) = pluginService."list${filter.capitalize()}PluginsWithTotal"(max: maxResults, offset: offset)

0 comments on commit 5bb9ce5

Please sign in to comment.