I have a page callback that loads up view with views_get_view_results($view_name) that loads the results just fine and I have what I need for display, but I can not figure out how to load the pager data so I can put pagination onto the page and detect when there are previous and next pages.
I'd like to have access to items_per_page, current_page, total_items which are all defined in the views_plugin_pager class.
If I load the view with views_get_view($view_name) it loads the view object un-executed and calling $viewObj->current_page(), for example just returns NULL.
Any help would be appreciated.
Recent comments
Worth mentioning as it was in zulip chat by @yorkshirepudding I just tested and the two work together without issue as long as you don't use the "Exclude comments from Content...
Search does not include comments
There is also Node Comments Search - this searches the node and all comments (default search is node and first page of comments) as part of the content search. Izzy's module above is a separate...
Search does not include comments
I have created a new module comment_search
Search does not include comments
If there is no response, alternatively, you can use a View with a list of comments, with a filter based on the comment text. I haven't tried it myself, I just got an idea.
Search does not include comments
Backdrop CMS: 1.34.0 Installation profile: standard PHP version: 8.4.21 Drupal 7 compatibility: on Database server...
User seeing admin stuff