Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
Resource Resolver 1.1.0
-
None
Description
Currently Resource Resolver's MapEntries uses following query for loading the VanityPaths
====
SELECT sling:vanityPath, sling:redirect, sling:redirectStatus FROM sling:VanityPath WHERE sling:vanityPath IS NOT NULL ORDER BY sling:vanityOrder DESC
====
It specifies the ORDER By for vanityOrder. However the code later does a custom sorting in MapEntry. So we can possibly drop the order by clause
Attachments
Issue Links
- duplicates
-
SLING-3772 Query to load initial vanity path set includes unnecessary ORDER BY clause
- Closed