VKontakte.DJ
forum traveling
Welcome, Guest
Please Login or Register.    Lost Password?
Forum search results paging broken (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Forum search results paging broken
#10939
Forum search results paging broken 5 Years, 10 Months ago Karma: 5  
Hi,

I noticed that if you search the forum, return more than 10 results and try and page you get no results for the subsequent pages.

I think it is missing the original search terms so is navigating an empty result set.

Cheers,
Mick.
mickjones (Admin)
Admin
Posts: 208
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#10978
Re:Forum search results paging broken 5 Years, 9 Months ago Karma: 26  
I've spent an hour investigating this and between legacy code written by hacky developers & a constantly failing internet connection I've decided not to pursue it further.

Should anyone wish to do so, the key line where the pagination is being created in fb_search.class.php is:

Code:

echo $pageNav->writePagesLinks(JB_LIVEURL . '&func=search&searchword=' . $searchword);


and really it should no longer be using mosPageNav but JPagination.

Once this information is made use of, there is potentially a bug where it is not URL-encoding the search term (i.e. searchword) passed in on the URL.

There seems to be a possibly-related issue when navigating backwards on forum articles (e.g. if you go to page 2 of a discussion, you can't click from that onto page 1).
sarahb (Admin)
null
Moderator
Posts: 1758
graph
User Offline Click here to see the profile of this user
null null null null null null Location: null
Logged Logged  
 
Last Edit: 2011/12/28 20:45 By sarahb.
 
The administrator has disabled public write access.  
Go to top

Have you noticed a problem with this website? If so, please e-mail one of our web team, who will fix it
admin@heroquest-larp.co.uk

© Copyright 2009-2014, All Rights Reserved