Better select which tags are displayed to browse by
Start from an empty blog, then create a draft article with the tags foo
and bar
.
Then create a published article with the tag baz
.
In the list of articles, as a staff user, you will see both articles. In the right sidebar you will see the three tags: bar
, baz
and foo
.
Now log out.
In the list, you will only see the published article. But in the right sidebar, you will still see the three tags.
For non-staff users, who can't see the draft/deleted articles, we should only show the tags corresponding to published articles.
Note that this might apply to other parts of the application, like the library or mediacenter, but I haven't verified. When fixing this bug, please do check them.