This PR fixes feature start and end date don't affect blog view as described in the issue #39562 . Please read the issue description to understand more about it if needed.
Testing Instructions
Use Joomla 4.2
Create an article, set Featured to Yes, but Start Featured is greater than current date or Finish Featured is less than current date (or both). So the article is marked as featured but it is not really featured for the moment of testing.
Create a menu item to link to Category Blog menu item type. Select the category which the article belongs to in the menu item parameter. In Blog Layout tab of the menu item, set Featured Articles parameter to Hide
Access to that menu item
Actual result BEFORE applying this Pull Request
The article is not being displayed.
Expected result AFTER applying this Pull Request
The article is now being displayed. It is correct behavior because at the moment of testing, it is not featured (current time is not in the featured duration settings controlled by Start Featured and Finish Featured).
Link to documentations
Please select:
No documentation changes for docs.joomla.org needed
No documentation changes for manual.joomla.org needed
I have tested this item✅ successfully on c7f35b0
Works as expected and consistent with the other views (category blog with featured: only and featured page). Thank you!
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39572.