bantu wrote:DavidIQ wrote:Looks to me like the question is if the user messes around with the query string what should the result be:dhruv.goel92 wrote:What should be the correct thing to do in case user tries to go to a result page which doesn't exist by changing start = parameter in the link,
an error like - "This Search Result Page is not valid" ? or maybe redirection to the last result page?
So yes, the user did provoke the error and error message should be shown.
Oleg's concern is as follows:
1. User searches and finds 2 pages of search results.
2. Moderator deletes a few posts. The search index changes.
3. User navigates to the second pages and gets the error (unprovoked).
In that case handle it as is done with topics for example. If the requests tries to display a page that doesn't exist show the last valid page.