search results pagination
search results pagination
I'd like to have the pagination enabled for the search results pages.
I didn't see any admin settings that allowed me to do this.
After searching through the files I found this function
function search($search, $limit=20, $pagination=0, $limitstart=0, $method='any', $ordering='newest') {
in the file 'com_communityanswers/models/answers.php'
I set $pagination=1 and the pagination DOES appear on the search results page. However, when I navigate to any of the other pages '2, 3, 4, ..." the only thing displayed is "No results found".
Shouldn't this work or am I missing something simple? I feel like I may have overlooked something.
Thanks!
I didn't see any admin settings that allowed me to do this.
After searching through the files I found this function
function search($search, $limit=20, $pagination=0, $limitstart=0, $method='any', $ordering='newest') {
in the file 'com_communityanswers/models/answers.php'
I set $pagination=1 and the pagination DOES appear on the search results page. However, when I navigate to any of the other pages '2, 3, 4, ..." the only thing displayed is "No results found".
Shouldn't this work or am I missing something simple? I feel like I may have overlooked something.
Thanks!
Access to viewing replies is restricted.
Showing 7 of 7 replies
You do not have permissions for replying to this topic.