User tests: Successful: Unsuccessful:
While testing #24672 I noticed that unpublished articles were visible. After some research, it seems to be caused by the new Joomla Workflow implementation.
In the ArticlesModel
the filter filter.published
is replaced by filter.condition
. So any code that is using filter.published
as a filter to load articles won't work and needs to be replaced by filter.condition
.
This PR fixes this for mod_articles_category
, mod_articles_news
and mod_articles_populair
.
Make sure to have some unpublished articles in a category. Add modules at a position in your template for mod_articles_category
, mod_articles_news
and mod_articles_populair
and configure them in a way that the unpublished articles are visible.
Apply the patch, and the unpublished articles should no longer be displayed (if you are not logged in on the frontend of the site).
Unpublished articles should not be visible.
Unpublished articles are visible.
Status | New | ⇒ | Pending |
Category | ⇒ | Modules Front End |
Labels |
Added:
?
|
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-05-04 16:21:53 |
Closed_By | ⇒ | wilsonge |
Thanks!