I would like to create a new option on my site that enables users to filter votes.

For example:
You have a list of movies (views 2)
On overy movie users can post votes.
The list is sorted, the best movies are on the top of the list.
And now somebody wants to exclude all votes from users that are younger than 18 years old.

Probably the sort order will be different, as kids votes for other movies than older people.

Is it possible with this module ?
Does anybody know a module with this function ?

Comments

philbar’s picture

Category: feature » support
Status: Active » Fixed

This seems like a task for Views:

http://drupal.org/project/views

There is no reason this cannot already be done.

tommytom’s picture

any idea how to do it with views ?

tommytom’s picture

I don't think that it's possible to do it only with views module.
You can filter nodes but not the votes of a node.

lut4rp’s picture

Status: Fixed » Postponed

Will be done when Views API is integrated as a part of GSoC 2009.

marvil07’s picture

Title: Filter votes by age » Let filter the aggregation query with some criteria
Project: Vote Up/Down » Voting API
Category: support » feature
Status: Postponed » Active

Actually, the point here is the need to take in account a relation inside the votes retrieved in the query where the aggregation is done.

So, AFAIK this need to be done in voting api, I mean the feature that let us depend the aggregation query in some criteria.

legolasbo’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Drupal 6 is no longer supported. Closing old issues to clean up the issue queue.

Please reopen and update this issue if this is still an issue in the D7 or D8 version.