Download & Extend

Change redirect path after removing item(s) from wish list

Project:UC Wish List
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

When a user is on it's wishlist /user/UID/wishlist, removing item(s) from wishlist clicking 'Update wishlist' button, user gets redirected to new page /wishlist/ID

I think it would be better if redirecting to same page /user/UID/wishlist

source:
uc_wishlist.pages.inc
$form_state['redirect'] = 'wishlist/'. $form_state['values']['wid'];

Comments

#1

I guess instead of hacking this module too much I could use triggered Rules using replacement pattern [user:uid] for most of the redirect links that I would like to change in this module..