We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm not sure if this works for everyone, but in my case I don't need a pagination on the search results if there is only 1 page...
I got it by adding an IF to L147 in the search.class.php controller file:
if ($end < $searchResponse['total']) { /* get pagination */ $this->discuss->hooks->load('pagination/build',array( 'count' => $searchResponse['total'], 'view' => 'search', 'limit' => $limit, )); }
If you think some people would like to have a pagination when there's only 1 page - do you have a nice way to have this customizable?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm not sure if this works for everyone, but in my case I don't need a pagination on the search results if there is only 1 page...
I got it by adding an IF to L147 in the search.class.php controller file:
If you think some people would like to have a pagination when there's only 1 page - do you have a nice way to have this customizable?
The text was updated successfully, but these errors were encountered: