This adds the ability to show the Priority number in a view and Sort by that number.

Just getting ready to use the wishlist for the holidays.

Would be nice to show the get/bought column as well, but we'll take baby steps.

Comments

draco2002’s picture

StatusFileSize
new874 bytes

Sorry haven't had my coffee yet. Diff-ed the files in the wrong order on the command line.

This one should work better.

scott.mclewin’s picture

Status: Needs work » Fixed

A short but sweet patch - thanks. It has been incorporated into HEAD and DRUPAL_5 for the wishlist module.

As you flesh out further views support keep the patches coming in. And don't always expect a few hour turnaround time. I happened to be reviewing the wishlist issue queue when you posted this. :)

bittindm’s picture

StatusFileSize
new1.47 KB

Here's a patch with more Views support made from today's version of HEAD. I added an Filter for item is public even though it seems like the Public / Private status is meant to set the node's publish status in which case you could just use the Node: Published filter. I don't think this is apparent unless you look in to the module code and database. As noted in this issue http://drupal.org/node/172751, there does seem to be an existing bug when going from public to private then back to public.

scott.mclewin’s picture

Status: Fixed » Reviewed & tested by the community

Ah good, I am glad somebody is giving the D6 version some playtime. I'll blend this patch in shortly (perhaps tonight). The patch itself looks simple enough.

scott.mclewin’s picture

Status: Reviewed & tested by the community » Fixed

@bittindm - your patch has been committed to head. I only made sure it parsed correctly, I did not test whether it worked. But looking at it, I'm pretty sure it works just fine.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.