diff src/main/webapp/pages/search.jsp @ 57:5cbe567a9c52

new: a link to view section text in ext-interface on full text searching page. bug fixed: a default topicId passed when doing search and full text search
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Wed, 17 Feb 2016 14:58:19 +0100
parents a00efd5d9e77
children b8ad346e39a0
line wrap: on
line diff
--- a/src/main/webapp/pages/search.jsp	Tue Feb 16 15:14:18 2016 +0100
+++ b/src/main/webapp/pages/search.jsp	Wed Feb 17 14:58:19 2016 +0100
@@ -511,7 +511,8 @@
 									<td>
 										<a href="#"
 											title="Show Section in Extraction Interface"
-										 	onclick="sectionInExtractionInterface('<%=section.getId() %>', '<%=section.getName() %>', '<%=section.getBook().getId() %>', '<%=section.getBook().getName() %>', '<%=sessionBean.getUser().getId() %>', '<%=sessionBean.getApplicationBean().getExtractionInterfaceUrl()%>');">
+										 	onclick="sectionInExtractionInterface('<%=section.getId() %>', '<%=section.getName() %>', '<%=section.getBook().getId() %>', '<%=section.getBook().getName() %>', '<%=sessionBean.getTopicListPage().getCompleteTopicList().get(0).getId() %>', '<%=sessionBean.getUser().getId() %>','<%=sessionBean.getApplicationBean().getExtractionInterfaceUrl()%>');">
+										 	
 										 	<img title="Show Section in Extraction Interface" src="<%=sessionBean.getApplicationBean().getShowImage()%>">
 										</a>