I am using the Category module to build a library of books. The library which is a container has several categories, in several levels. The author has written series of books that take place in the same world, so the hierarchy is Root -> World -> Series -> Title.

What I want to do now is that I want list the most popular books. I am using a view that lists ten amazon nodes sorted by number of hits, descending. Since the site will eventually contain several libraries by books by other authors as well as DVDs and other types of items I want to filter this view so that it only displays amazon nodes that have been tagged with categories from this container, to make sure the view only displays books by this author. The taxonomical translation would be to display nodes with terms from a certain vocabulary. The problem is that it doesn't work, my view shows no nodes.

I can only assume that the Taxonomy Wrapper doesn't work seamlessly with Views since when I remove the "Taxonomy: Vocabulary" filter, they display fine, but it it's not a permanent solution as I will need a way to filter nodes depending on what container they belong to.

I'm just posting this here so that Jaza can have a look at it and hopefully come up with a solution. I am using Views, Amazon Tools and Category module on Drupal 5.1.

Comments

solipsist’s picture

I did some googling and found some potential solutions. Would this solve my problem? Would it let me work with a Container and Category just like I do with a Vocabulary and Term in Views?
http://drupal.org/node/69861#comment-163123

inforeto’s picture

The native category filters work fine, but it is still woth to get the taxonomy term ones to work.

The wrapper should work if there's no mismatch between the category and taxonomy tables.
"Taxonomy: Terms for (container)" shows the right results for field, filter and exposed filter.

There's issues that affect this, and patches pending review to solve them.
It'd take some digging, as there's many related posts. See http://drupal.org/node/87669