Jump to content

Limit find results in admin


Recommended Posts

This might be an obvious one but I can't find it. How can I limit, or expand, the number of results that are pulled back in the find portion of the admin interface (the lister?)? Right now it seems limited to 25 records at a time. I would like to increase this. Is there any way to do that? I'm not talking about the hierarchal list of pages but the list you can get if you go to the Pages>Find menu option.



Link to comment
Share on other sites

If you just want to do this from time-to-time you can add a filter row like this:



Or if you want the default limit to always be 50 (or whatever limit you want) then you can add a hook in /site/ready.php:

$wire->addHookBefore('ProcessPageLister::execute', function(HookEvent $event) {
	/** @var ProcessPageLister $lister */
	$lister = $event->object;
	// Only for the "Find" lister
	if($event->wire()->page->name === 'lister') {
		$lister->defaultLimit = 50;


  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...