1

This question is closely related to my other question posed a few hours ago: How to make a node appear across *all* Taxonomy terms?

As a solution, I plan to create a functionality, where my new nodes are added to every country in my 'countries' vocabulary, when a 'check all' button is clicked (this is in addition to a single term in the 'main' classification taxonomy they are assigned to).

But I have a view for the display of these nodes. It accepts a term ID from the main taxonomy via URL, and provides a Hierarchical Select "exposed filter" for further filtering by geography within the displayed nodes.

I will now have the same node teaser multiplied by the number of countries in my vocabulary, when the user first enters this view (because that many nodes were created).

Is there a way I can tell my view to just notice such nodes only once, in the unfiltered state?

3

If I'm not mistaken, in your view-settings, you can select a distinct query in your Advanced settings in the view. It set under Query settings. I'm not sure if it's already there in D6.

  • Okay, I will test this once I have the required data in place (I'm just not completely sure this would work, because to the query it might look like they are different results). Thanks. – Aditya M P Jan 30 '12 at 12:39
3

Try "use distinct", this filters the results to only include 1 item per result.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.