Searching via tags
I feel like I might be overlooking something simple, but I'm using the
HandleTags
trait on my module's repository (PostRepository
) to use tagging. I can get the tags for each Post just fine, but I'm not sure how to search for Posts via a tag slug. Any suggestions?2 Replies
Twill uses this package to handle tags, so from docs its shown how to get records with specific tags.
https://cartalyst.com/manual/tags/12.x#get-all-the-entities-with-the-given-tags
exactly what i needed -- thank you!