In the confirmation form of the resend receipt feature, both buttons "Resend receipt" and "Cancel" have unusual redirects.
- "Resend receipt" button redirects to its own URL "/admin/commerce/orders/*/resend-receipt"
- "Cancel" button redirects to the collection route "/admin/commerce/orders"
It would be better to just redirect to the canonical route "/admin/commerce/orders/*" in both cases.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | commerce-fix-resend-receipt-redirects-3420083-2.patch | 763 bytes | vinay.p |
Comments
Comment #2
vinay.p commentedHere's a patch, please review and confirm.
Comment #3
vinay.p commentedComment #5
jsacksick commentedCommitted, thanks!