Hi all,

I've just updated to last DEV version : Views 6.x-2.x-dev (2010-Mar-17)
I didn't modified my view and it doesn't work anymore.
This is a view with argument on Taxonomy Vocabulary ID and Taxonomy Term ID.

Taxonomy Vocabulary ID argument works. In preview I can see argument value in SQL.
But for Taxonomy Term ID argument SQL is always NULL.

Arguments : hotel/3/6

SELECT node.nid AS nid, 
node.language AS node_language, 
node.title AS node_title 
FROM node node 
LEFT JOIN term_node term_node ON node.vid = term_node.vid 
LEFT JOIN term_data term_data ON term_node.tid = term_data.tid 
LEFT JOIN vocabulary vocabulary ON term_data.vid = vocabulary.vid 
WHERE (node.status <> 0) AND (node.type = 'hotel') AND (vocabulary.vid = '3') AND (term_node.tid IS NULL)
CommentFileSizeAuthor
#5 views-argument-fix.patch476 bytesdawehner
#2 myview.txt7.45 KBsrobert72
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

can you export the view?

The taxonomy view worked fine here.

srobert72’s picture

FileSize
7.45 KB

Yes sure, here it is.

tomtom122’s picture

Hi @all,

i have the same issue.

Thx.
Tom

dawehner’s picture

Status: Postponed (maintainer needs more info) » Active

Update status

dawehner’s picture

Status: Active » Needs review
FileSize
476 bytes

Here is a patch.

Classical logical problem

srobert72’s picture

Status: Needs review » Reviewed & tested by the community

That's it !

I tested your patch and now it works correctly.
Thank you.

dawehner’s picture

This was my fault in the patch. The bug was introduced by myself

srobert72’s picture

It's only those who do nothing that make no mistakes :-)
Thank you for your work.

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed to all branches. Thanks!

Status: Fixed » Closed (fixed)

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