Skip to content

Change bulk unarchive action for redirect links to unpublish#38434

Merged
wilsonge merged 1 commit intojoomla:4.2-devfrom
mattelkins-bluefrontier:com-redirect-links-unarchive
Sep 6, 2022
Merged

Change bulk unarchive action for redirect links to unpublish#38434
wilsonge merged 1 commit intojoomla:4.2-devfrom
mattelkins-bluefrontier:com-redirect-links-unarchive

Conversation

@mattelkins-bluefrontier
Copy link
Copy Markdown
Contributor

@mattelkins-bluefrontier mattelkins-bluefrontier commented Aug 10, 2022

Pull Request for Issue #38434.

Summary of Changes

unarchive

Attempting to unarchive multiple redirect links using the 'Unarchive' option in the Actions dropdown currently has no effect. When unarchiving individual redirect links, the unpublish action is used to set them to the 'Disabled' state. This update applies the same unpublish action to the bulk unarchive option.

Testing Instructions

  1. Create several redirect links.
  2. Archive the redirect links.
  3. Attempt to unarchive all archived redirect links simultaneously.

Actual result BEFORE applying this Pull Request

A form submission occurs, the page reloads, but the selected redirect links remain archived.

Expected result AFTER applying this Pull Request

The selected redirect links will be set to the unpublished/'Disabled' state.

Documentation Changes Required

None.

@brianteeman
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on ec3f60c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38434.

@N6REJ
Copy link
Copy Markdown
Contributor

N6REJ commented Aug 11, 2022

I have tested this item ✅ successfully on ec3f60c

Tested successfully,

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38434.

@N6REJ N6REJ added the RTC This Pull Request is Ready To Commit label Aug 11, 2022
@richard67
Copy link
Copy Markdown
Member

@N6REJ You should know that seeting the RTC label only is not sufficient. It needs to change the status on github to "Ready to commit". I'll do that for you now, but hopefully you remember next time.

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Aug 11, 2022
@richard67
Copy link
Copy Markdown
Member

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38434.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 11, 2022
@wilsonge wilsonge merged commit d475800 into joomla:4.2-dev Sep 6, 2022
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Sep 6, 2022
@wilsonge
Copy link
Copy Markdown
Contributor

wilsonge commented Sep 6, 2022

Thankyou for you first PR to the project! Much appreciated!

@wilsonge wilsonge added this to the Joomla! 4.2.3 milestone Sep 6, 2022
@mattelkins-bluefrontier
Copy link
Copy Markdown
Contributor Author

Thankyou for you first PR to the project! Much appreciated!

Thanks! Glad to be able to contribute!

@mattelkins-bluefrontier mattelkins-bluefrontier deleted the com-redirect-links-unarchive branch September 6, 2022 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants