sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [sling-whiteboard] 01/03: Sorting the resource type options
Date Thu, 01 Mar 2018 06:53:09 GMT
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-whiteboard.git

commit 3c32131bcb1fae1993eafd5252ca7d3516e5b3d1
Author: Dan Klco <daniel.klco@gmail.com>
AuthorDate: Wed Feb 28 22:52:35 2018 -0800

    Sorting the resource type options
---
 .../libs/sling-cms/components/editor/scripts/resourceTypeOptions.jsp    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cms/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/resourceTypeOptions.jsp
b/cms/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/resourceTypeOptions.jsp
index 290841f..ec9102a 100644
--- a/cms/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/resourceTypeOptions.jsp
+++ b/cms/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/scripts/resourceTypeOptions.jsp
@@ -20,7 +20,7 @@
 <option value="">Select Component</option>
 <c:forEach var="type" items="${fn:split(param.availableTypes,',')}">
 	<optgroup label="${sling:encode(type,'HTML_ATTR')}">
-		<c:set var="query" value="SELECT * FROM [sling:Component] WHERE [componentType]='${type}'"
/>
+		<c:set var="query" value="SELECT * FROM [sling:Component] WHERE [componentType]='${type}'
ORDER BY [jcr:title]" />
 		<c:forEach var="component" items="${sling:findResources(resourceResolver,query,'JCR-SQL2')}">
 			<c:choose>
 				<c:when test="${fn:startsWith(component.path,'/apps/')}">

-- 
To stop receiving notification emails like this one, please contact
dklco@apache.org.

Mime
View raw message