This is an automated email from the ASF dual-hosted git repository.
dklco pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git
The following commit(s) were added to refs/heads/master by this push:
new 8313dc6 Removing components called config and ordering by title
8313dc6 is described below
commit 8313dc6ba2cc2a86da0b758146adf3e28c7d1be1
Author: Dan Klco <[email protected]>
AuthorDate: Wed May 29 00:32:56 2019 -0400
Removing components called config and ordering by title
---
.../sling-cms/components/editor/scripts/componentConfigOptions.jsp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/componentConfigOptions.jsp
b/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/componentConfigOptions.jsp
index 26b7d3e..9eafa95 100644
---
a/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/componentConfigOptions.jsp
+++
b/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/componentConfigOptions.jsp
@@ -18,8 +18,8 @@
*/ --%>
<%@include file="/libs/sling-cms/global.jsp"%>
<option value="">Select Component</option>
-<c:forEach var="component"
items="${sling:findResources(resourceResolver,'SELECT * FROM [sling:Component]
WHERE [componentType] IS NOT NULL','JCR-SQL2')}">
- <c:if test="${sling:getRelativeResource(component,'config') != null &&
sling:getRelativeResource(component,'config').resourceType != 'sling:Folder'}">
+<c:forEach var="component"
items="${sling:findResources(resourceResolver,'SELECT * FROM [sling:Component]
WHERE [componentType] IS NOT NULL ORDER BY [jcr:title]','JCR-SQL2')}">
+ <c:if test="${sling:getRelativeResource(component,'config') != null &&
sling:getRelativeResource(component,'config').resourceType != 'sling:Folder' &&
sling:getRelativeResource(component,'config').resourceType !=
'sling:Component'}">
<c:choose>
<c:when test="${fn:startsWith(component.path,'/apps/')}">
<c:set var="rt"
value="${fn:substringAfter(component.path,'/apps/')}" />