AndyB
Well-known member
In one of my add-ons I would like to search content which has a certain tag.
Currently I have the following finder and it returns all posts.
I would like to be able to search for a specific tag in the xf_thread.tags which is a BLOB. How would I update the above finder?
Thank you.
Currently I have the following finder and it returns all posts.
PHP:
$finder = \XF::finder('XF:Post');
$posts = $finder
->with('Thread')
->with('Thread.Forum')
->order('post_id', 'DESC')
->limit($limit)
->fetch();
I would like to be able to search for a specific tag in the xf_thread.tags which is a BLOB. How would I update the above finder?
Thank you.