Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
On custom taxonomy term pages with context admin (the "List terms" option) when resetting terms to alphabetical order the user is redirected to core taxonomy term pages. This happens when actually resetting the order or when clicking the cancel link.
Proposed resolution
This should redirect the user back to the custom context admin page.
There is already a form alter function in place to alter the list terms forms. I've created a patch which alters the form cancel button to redirect back to the custom page, and added a submit handler to override the default redirect set by the taxonomy module.
Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#1 | context_admin-reset_terms_alphabetical_redirect-2276567-1.patch | 982 bytes | jeni_dc |
Comments
Comment #1
jeni_dc CreditAttribution: jeni_dc commentedAdding patch.