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
Comment #1
eaton commentedThere'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.
Comment #2
alesel commentedHas anybody a right code of this for Drupal 7?
Thx!