jdaugherty commented on code in PR #15307:
URL: https://github.com/apache/grails-core/pull/15307#discussion_r2672763998
##########
grails-forge/grails-forge-core/src/main/resources/gsp/index.gsp:
##########
@@ -41,7 +41,7 @@
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" role="button"
data-bs-toggle="dropdown" aria-expanded="false">Installed Plugins<span
class="caret"></span></a>
<ul class="dropdown-menu dropdown-menu-right">
- <g:each var="plugin"
in="${applicationContext.getBean('pluginManager').allPlugins}">
+ <g:each var="plugin"
in="${applicationContext.getBean('pluginManager').allPlugins.sort {
it.name.toLowerCase() }}">
Review Comment:
We could call withIndex() to inject the original order. Then you can have a
title to show the original order - this way the view shows them sorted, but
it's still possible to easily get the original order.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]