Fixing a few bugs...

Project: 
wishlist
Category: 
bug report
Priority: 
normal
Status: 
fixed

This is a great module -- thanks for your work on it!
I'm using it in ubercart alpha8 and found a few bugs. This patch fixes the following:

  1. The module inadvertently implements hook_search() which was messing up the drupal's search form. So, I implemented the hook functionality so that people can search for wish lists from drupal's search form as well as from the custom form that was already part of the module.
  2. Added a message to anonymous user's advising them to create an account so their wish list is saved.
  3. Fixed the code for displaying the item picture.
  4. Added code to delete a user's wishlist when the user is deleted.
  5. Wrapped the Add to wish list string with t() so it can be localized

Re: Fixing a few bugs...

jrust, if you're still around, the patch was not attached. Use the "File attachments" fieldset to stick it up here. Smiling

Re: Fixing a few bugs...

Whoops, that would be helpful wouldn't it Eye-wink

AttachmentSize
uc_wishlist.patch3.81 KB

Included in version 0.4

jrust,

Thanks for posting the patch. These changes are now included in version 0.4.