Hi, I'd like to create a simple view called "The most popular [nodes] for the last X days". I'd like this view to count only the votes, submitted during previous X days, and not from the 0 A.D.

I've tried using the Voting API timestamp filter, but it just filters the nodes that were voted on within a certain time period, still showing the full sum of votes, which is useless in my case.

Does anyone know how to solve the problem? Thanks a lot!

Comments

eaton’s picture

Status: Active » Closed (won't fix)

There's currently no way to do that using the VotingAPI/views integration as it stands. It should be a relatively straightforward task using a bit of SQL, however.

alesel’s picture

Version: 5.x-1.6 » 7.x-2.x-dev
Component: Miscellaneous » Views Integration
Status: Closed (won't fix) » Active

Has anybody a right code of this for Drupal 7?
Thx!