I am working on customizing the search results returned by the Backdrop search. Depending on the node type, I need to alter the URL that the given result points to….like not linking to the entry data for the node but rather the section the content is featured on. That being said, I am trying to determine if I can get the node ID and node type from the search results so that I can redirect where some of the results point to. Is there a way for me to get that info from the search_results?
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