PR-5.4-dev PR-6.1-dev Pending

User tests: Successful: Unsuccessful:

avatar Chitrakshi180706
Chitrakshi180706
28 Mar 2026

Pull Request resolves #47489 .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Expired articles were displaying a green published icon instead
of the expired icon when selecting an article for a Single Article
menu item. Added a check for the publish_down date against the
current date before assigning the icon class, so expired articles
now correctly display the expired icon.

Testing Instructions

  1. Create an article with a publish_down date in the past
  2. Create a new menu item of type Single Article
  3. Click Select Article to open the modal
  4. Find the expired article
  5. It should now show the expired icon instead of published icon

Actual result BEFORE applying this Pull Request

Expired articles show green published icon (icon-publish)

Expected result AFTER applying this Pull Request

Expired articles show expired icon (icon-expired)

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • [✅] No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • [✅] No documentation changes for manual.joomla.org needed

avatar Chitrakshi180706 Chitrakshi180706 - open - 28 Mar 2026
avatar Chitrakshi180706 Chitrakshi180706 - change - 28 Mar 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Mar 2026
Category Repository Administration com_admin SQL
avatar Chitrakshi180706 Chitrakshi180706 - change - 28 Mar 2026
The description was changed
avatar Chitrakshi180706 Chitrakshi180706 - edited - 28 Mar 2026
avatar Chitrakshi180706 Chitrakshi180706 - change - 28 Mar 2026
The description was changed
avatar Chitrakshi180706 Chitrakshi180706 - edited - 28 Mar 2026
avatar brianteeman
brianteeman - comment - 28 Mar 2026

Your branch is 6.1 but you are trying to merge it into 5.4

avatar Chitrakshi180706 Chitrakshi180706 - change - 28 Mar 2026
The description was changed
avatar Chitrakshi180706 Chitrakshi180706 - edited - 28 Mar 2026
avatar joomla-cms-bot joomla-cms-bot - change - 28 Mar 2026
Category Repository Administration com_admin SQL Administration com_content
avatar Chitrakshi180706 Chitrakshi180706 - change - 28 Mar 2026
Labels Added: PR-5.4-dev PR-6.1-dev
avatar Chitrakshi180706
Chitrakshi180706 - comment - 28 Mar 2026

Thank you for the feedback @brianteeman!

I have updated the base branch to 6.1-dev and confirmed
the AI policy check. Sorry for the confusion!

avatar richard67
richard67 - comment - 4 Apr 2026

Thank you for the feedback @brianteeman!

I have updated the base branch to 6.1-dev and confirmed the AI policy check. Sorry for the confusion!

@Chitrakshi180706 The change of the base branch was wrong. As @alikon has mentioned in his comment, this is a bug fix for a bug which happens also on 5.4.

So this PR should be made for the 5.4-dev branch.

Maybe a rebase would be not easy fro the upper to the lower version branch, and making a new PR for 5.4-dev would be easier.

Besides this, please check my 2 review suggestions above.

Thanks in advance.

Add a Comment

Login with GitHub to post a comment