Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-3 votes
1 answer
176 views

Search and pagination in media popup don't work properly [closed]

In the /admin/content/media page, I have more than one button for the pagination. The search is working properly. When I edit a media on some node, in the popup, I only have one button in the ...
mt.i.1's user avatar
  • 63
1 vote
1 answer
3k views

How to add pagination to programmatically rendered search result template

I am trying to implement the pagination in drupal 8 custom page. I have a custom array which I am rendering using theme, I need to add pagination for it. $internal_result = array_merge($...
sneha.kamble's user avatar
-1 votes
1 answer
102 views

How to reuse the query on a node page?

I have a Views page which is a search page based on a Search API index containing a few filters. The results are rendered entities. When clicking one of the entities, I wonder if it is possible reuse ...
Bolle89's user avatar
0 votes
2 answers
782 views

How to display the pager on top and bottom of a custom search results page?

I have used the core Search Page functionality in Drupal 8 to built a search engine on my site. The pager is displayed at the bottom by default. How can i display the pager on the top also? Note: I ...
d8ninja's user avatar
1 vote
1 answer
120 views

pagination broken on custom theme's search system page [closed]

I do not have pagination on the system search page .../search*. When I toggle off my custom theme I have pagination on the search-result.tpl.php page, I can see the $pager variable. But on my custom ...
Daedalus's user avatar
  • 151
1 vote
1 answer
90 views

Implementing a search and results page in the admin interface

I'm trying to implement a search and results form in the admin interface but I am having trouble getting the search function and pager working. [1] The pager is not showing at all. I've got this ...
RobotEyes's user avatar
  • 365
2 votes
0 answers
349 views

$pager_total_items giving wrong results count in custom search module

I am not too sure what happens but in my custom search module, the $GLOBALS['pager_total_items'] count is wrong on the first page. For example, I search for a term and it will display: Showing 1 - 10 ...
MrUpsidown's user avatar
0 votes
1 answer
123 views

Rewriting the pager of Views in Drupal 7

I have a Views which I am calling via views_get_view and view->preview. I am feeding the Views with a form via Form API - with no exposed filters - and the problem is that while the number of pages ...
Cesar's user avatar
  • 942
1 vote
1 answer
546 views

Change search results pager to mini pager?

How to change search result's pager to mini pager. I want to change default pager to mini pager in that search result page. Please help me. Thank you.
Viraj's user avatar
  • 345
0 votes
0 answers
122 views

Custom pagination in search results [duplicate]

I would like to know how to display a custom pagination in search results. By default drupal search is displaying 10 results but no pagination even $pager; is printed in search-results.tpl.php. I know ...
nomeer's user avatar
  • 345
1 vote
1 answer
951 views

Pagination in apache solr search page

To control the number of search results showing in a solr site search page there is a text field in admin/config/search/apachesolr/search-pages/core_search/edit In advanced option tab, there is an ...
Pravin Ajaaz's user avatar
  • 3,552
0 votes
1 answer
641 views

Drupal7/Search Module & Pagination [closed]

I am looking for a People directory Search Module. Something like what they used on top of the link: http://wws.princeton.edu/directory Also in the link above, they have pagination on the top and ...
Boutros AbiChedid's user avatar
-1 votes
1 answer
331 views

Change drupal search result count

Drupal search is giving 10 items per page. The number is hard coded in search core module. Is there any way to make it 15?. I am using drupal 6.
praji's user avatar
  • 180
1 vote
0 answers
104 views

Pagination in Drupal 6 search results

I am using the Multisite Search module and have added some custom behaviour to it. What I did was basically do another check in the multisite_search_search function and stopped several nodes from ...
user16151's user avatar
3 votes
2 answers
864 views

views pager showing X results per page

I was wondering if anyone knew how to go about adding a drop down or even a list of links to help change the amount of views results per page. Ideally, when there's a lot of results you would want to ...
Garry's user avatar
  • 393