cbojer's avatar

Pagination bug with Search

When you search, and there are enough results for it to be paginated, the pagination links don't include the query string.

For instance, try to search for "git" and click on page 2. The link is now search?page=2, which redirects to /lessons. It should instead be search?q=git&page=2

0 likes
11 replies
Gavrisimo's avatar

Looks like this got fixed. Just searched for git and went to page 2 and it worked, I was on search?q=git&page=2.

cbojer's avatar

Hmm, its still not fixed on my end. Anyone else who would care to check up on it? Could just be some caching or something like that.

cbojer's avatar

Tried that, but it's still not working. Seems odd. Guess it is fixed then, though :)

king724's avatar

The search result pagination is not working for me either. The url does not contain the search term (e.g. the '&q=view')

TravisBlasingame's avatar

I see what the confusion is. The OP is referring to site wide search (hit 's' on your keyboard). And that is not working with pagination. The working links provided in this post so far are forum search results which are in fact working.

Hope that clears this up some.

bashy's avatar

Ah, lesson search. Yeah that's missing the query string for the q= when clicking another page.

@JeffreyWay

Please or to participate in this conversation.