Hide
original bugid: #6716
The situation: a users searches with list.jsp and walks through the pages with results. He stops for instance at page 5 => start==5
When he starts a new search now by entering a new searchterm the offset remains at 5, yielding no results when #results < pagesize * 5
The problem dissappears when the following code is added to list.jsp (around line 120)
// fire query
// reset offset when a new search is started
if (session.getAttribute("listConfig.searchValue") != null) {
if(!session.getAttribute("listConfig.searchValue").equals(listConfig.searchValue)) {
listConfig.start = 0;
}
}
session.setAttribute("listConfig.searchValue", listConfig.searchValue);
NodeList results = null;
Show
original bugid: #6716
The situation: a users searches with list.jsp and walks through the pages with results. He stops for instance at page 5 => start==5
When he starts a new search now by entering a new searchterm the offset remains at 5, yielding no results when #results < pagesize * 5
The problem dissappears when the following code is added to list.jsp (around line 120)
// fire query
// reset offset when a new search is started
if (session.getAttribute("listConfig.searchValue") != null) {
if(!session.getAttribute("listConfig.searchValue").equals(listConfig.searchValue)) {
listConfig.start = 0;
}
}
session.setAttribute("listConfig.searchValue", listConfig.searchValue);
NodeList results = null;