sonata-project/SonataNewsBundle

Only filtered tag showing when filtering by tag

liquorvicar opened this issue · 1 comments

When you view all posts for a particular tag, only the tag you are looking for is shown in the results summary, rather than all tags attached to the relevant post (using the Doctrine ORM backend). This seems wrong to me and is possibly due to the way the posts are loaded.

As an example, say you have a post with tags "foo" and "bar". If you search on either of these tags via the front-end (e.g. via a route like /tag/foo) then the post is listed but only the "foo" tag is listed in the summary of the post info.

Hopefully the attached screenshots will show the issue

Here's the summary for a post with tags:
post_with_all_tags

When I click on the "technical" tag to view all posts tagged with that tag, then the summary for the same post is shown as follows:
post_listing_when_searching_by_tag