So I've added the search-results.tpl.php to my theme and it's got the print $pager; in it. When I navigate to my search and run a search it only displays 10 results without a pager. But I know there's more results and they show up if I manually go to (for example):

search/node/mbs?page=2

How can I get the pager working and displaying? I also tried this with the default Bartik core theme and it's not displaying the pager in Bartik either.

I've cleared the theme registry.

-Trevor

Comments

Chithra K’s picture

It seems that this issue no longer exists in the newer version ,7.15.You may update your core .

neRok’s picture

Status: Active » Closed (fixed)

Im just going over some old core issues and closing what I can.

I think this can be closed, seeing as a fix was posted, and there were no follow up comments.

jasonluttrell’s picture

Issue summary: View changes

I'm not sure that this was really resolved. This problems occurs for me in v.7.43 core search module. Tested the issue with both a custom theme and Bartik, it occurs in both. Some additional notes may help: the pager appears on the first pages and only disappears when a search results in more than 4-5 pages (e.g., search for "the"). After the fourth search page, the pagination disappears from the bottom. The page 1 links to pages 4 or above that still work (/search/node/the?page=7), so the problem is that the pager just quits showing up. I can't find anything online as to why this is occurring. I would not have even seen this except for thorough QA. :) Any ideas?

There was a similar issue which was also closed with no real resolution here: https://www.drupal.org/node/1482924#comment-11352345