Closed (duplicate)
Project:
Voting API
Version:
7.x-2.11
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
19 Sep 2013 at 11:16 UTC
Updated:
16 Jun 2020 at 02:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
andrei.dincu commentedComment #2
andrei.dincu commentedChanged doc from GREATER THAN with MATCH.
Comment #3
andrei.dincu commentedComment #4
andrei.dincu commentedComment #5
torotil commentedAnother thought: Are we sure that the comment is wrong and not the code? If the comment just described what should happen, and the code failed to do it then the proposed patch would just document the bug instead of solving it.
Comment #6
tr commentedYes, it is definitely the code that is wrong - the documentation describes what the code is supposed to do. It would not make any sense for the code to select votes that MATCH a timestamp - that's a useless selection.
There's an old issue that's already open to address this problem in the code #1304364: timestamp criteria for votingapi_select_votes and votingapi_select_results. You should contribute to that issue!