You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2018/05/20 02:10:49 UTC
[sling-whiteboard] 02/02: Changing the default level to three on
the search result
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 c8efe9dd768c560f3f681719255118cdb6ec797f
Author: Dan Klco <dk...@apache.org>
AuthorDate: Sat May 19 22:09:46 2018 -0400
Changing the default level to three on the search result
---
.../jcr_root/apps/reference/components/general/search/result.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/search/result.jsp b/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/search/result.jsp
index 1ee8ea3..0d86a95 100644
--- a/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/search/result.jsp
+++ b/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/search/result.jsp
@@ -27,6 +27,6 @@
<sling:encode value="${result.valueMap['jcr:content/jcr:description']}" mode="HTML" />
</p>
<a href="${result.path}.html" class="searchresult__link">
- ${fn:replace(result.path,sling:getAbsoluteParent(result,2).path,'')}.html
+ ${fn:replace(result.path,sling:getAbsoluteParent(result,3).path,'')}.html
</a>
</div>
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
dklco@apache.org.