User tests: Successful: Unsuccessful:
The "Popular Tags" module shows tags from all tagged items, regardless of their respective publishing status. If you have an article that is not published yet tagged with "Tag1", this tag shows in "Popular Tags" with 1 article, but if you click on the link for the article list, no article is shown.
Please be aware that there are more taggable item types than just articles. I tested it with articles and contacts without any problems. And please have a short look at the SQL query, too, to ensure, that everything is correct here. Thanks!
JoomlaCode item: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33868
Title |
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-07-09 19:40:35 |
@test: Works as expected, the tag no longer shows up when the article is unpublished, has a future publish date or has a past unpublish date.
There is a codestyle issue with the patch though:
:33: trailing whitespace.
->join('INNER', $db->quoteName('#__ucm_content', 'c') . ' ON ' . $db->quoteName('m.core_content_id') . ' = ' . $db->quoteName('c.core_content_id'))
:36: trailing whitespace.
warning: 2 lines add whitespace errors.
Please fix that and we can move it forward.