Is there a way to display single node for each term that is passed to a view (probably something like DISTINCT term...)?
Maybe my explanation doesn't make much sense but here is the use case that might clarify the question - a "What is on TV now" view:
1. TV programs that are contained as terms in a vocabulary.
2. A CCK type which has a "show start date" date field and is categorized by the latter vocabulary.
3. "What is on TV now" view which displays nodes from the CCK type and is purpose is to display the nodes that contain shows that are on air in the moment from all (some) of the programs in the vocabulary.
I can accomplish this easily with Views for a single program by using:
Nodes:1
Filters: node type = program, show start date <= now (get only tv shows that have started)
Sort: show start date DESC (order them descending so that on the top of the stack we have the newest one)
but I cannot do it for all (some of) the programs in the vocabulary.
Thanks in advance!
Comments
Comment #1
dawehneri never used this module: http://drupal.org/project/views_groupby_pack
but it seams to be able to do, what you want.
Comment #2
esmerel commentedSuggestion made for fix.