diff src/main/webapp/pages/fullTextSearch.jsp @ 40:35ed4e650a53

bug fixed: full text search when section not found in section_index table. add paginator
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 07 Dec 2015 17:06:57 +0100
parents 37840afb7b80
children ba9515f22897
line wrap: on
line diff
--- a/src/main/webapp/pages/fullTextSearch.jsp	Fri Dec 04 14:28:44 2015 +0100
+++ b/src/main/webapp/pages/fullTextSearch.jsp	Mon Dec 07 17:06:57 2015 +0100
@@ -207,11 +207,11 @@
 				if (sessionBean.getFullTextSearchPage().getCompleteList() != null) {
 			%>
 	
-			<!-- 
+			
 			<jsp:include page="../componentes/paginator.jsp">
 				<jsp:param name="formName" value="fullTextSearchForm"/>
 			</jsp:include> 
-			-->
+		
 			
 			<div class="tableDiv double-scroll">
 				<table class="pageTable">
@@ -536,7 +536,7 @@
 					
 		
 						<%
-						for (DBContents content : sessionBean.getFullTextSearchPage().getFilteredList() ) {
+						for (DBContents content : sessionBean.getFullTextSearchPage().getDisplayList() ) {
 						%>
 						
 						<% if ( content.isRemoved() ) { %>
@@ -546,7 +546,7 @@
 						<% } %>
 									
 							<td><%=content.getInx() %></td>
-							<td><%=content.getSection().getBook().getId() %></td>
+							<td><%=content.getBookId() %></td>
 							<td><%=content.getSection().getBook().getName()%></td>
 							<td><%=content.getSection().getBook().getLevel1()%></td>
 							<td><%=content.getSection().getBook().getLevel2()%></td>
@@ -588,11 +588,11 @@
 			%>
 			
 			</div>
-			<!-- 
+			
 			<jsp:include page="../componentes/paginator.jsp">
 				<jsp:param name="formName" value="fullTextSearchForm"/>
 			</jsp:include> 
-			 -->
+			 
 			 
 		</form>