Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.0-beta3
Component:
node data
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2008 at 19:51 UTC
Updated:
6 Jun 2008 at 07:19 UTC
Even though the filter is set to return just a specific vocab all terms in all vocabs are returned and not terms selected from the filter
Comments
Comment #1
merlinofchaos commentedbeta3 has been out for quite awhile.
Also, you did not follow the instructions in the submission guidelines.
Comment #2
somes commentedsorry was in a rush last night and should have made it a beta3
The problem seems to be where you have 2 Vocabs (maybe more) if you select the Term ID
you are given the choice of which vocab to use ie "Vocab A"
then
using the operator "Is all of" to select all terms from the preselected "Vocab A"
I would be expecting the all term refering to "Vocab A" should be returned what happens is that all term in both "Vocab A" plus "Vocab B" are returned
this probably isnt a but but something Im doing wrong here some code
[code]
SELECT node.nid AS nid,
node.title AS node_title,
node.created AS node_created,
node.type AS node_type,
node_data_field_author.field_author_value AS node_data_field_author_field_author_value,
node_data_field_author.nid AS node_data_field_author_nid,
vocabulary.name AS vocabulary_name
FROM node node
LEFT JOIN content_field_author node_data_field_author ON node.vid = node_data_field_author.vid
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
ORDER BY node_created DESC
[/code]
Comment #3
somes commentedThis is closed - im just plain stupid should have put a filter of node type on
tks
M