mheinzerling / jforum2

Automatically exported from code.google.com/p/jforum2
Other
0 stars 0 forks source link

Cannot navigate into the search result page - pagination #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. submit a search 
2. click on page 2

What is the expected output? What do you see instead?
- expected: move to the next page
- I see: go back to the initial search page

What version of the product are you using? On what operating system,
database, and application server/servlet container?
* Product: JForum 2.3.4
* OS: Windows
* DB: SQL Server
* AP: Jetty

Please provide any additional information below.
-> search_pagination.ftl cannot retrieve the searchArgs.matchType value

page2 link is presented 
as: 
/jforum.page?module=search&action=search&search_keywords=teste&sort_by=relevance
&start=15

should be: 
/jforum.page?match_type=ALL&module=search&action=search&search_keywords=teste&so
rt_by=relevance&start=15 

Original issue reported on code.google.com by jbay...@gmail.com on 31 Jul 2013 at 2:34

GoogleCodeExporter commented 9 years ago
Fixed. The right way is to handle null match_types, so that the parameter is 
not necessary (and defaults to ALL).

Original comment by ulf.dittmer on 23 Aug 2013 at 10:52