branch develop updated (ba796abc -> 57ed0600)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from ba796abc Correction if the request has no media type (for instance in case of a 'delete' request) new 57ed0600 PollList filter : correct sql request to retrieve past polls The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 57ed0600c122efe4a8ac50ddc90cc0d0cae898a0 Author: Cécilia Bossard <bossard@codelutin.com> Date: Mon Aug 17 14:05:24 2020 +0200 PollList filter : correct sql request to retrieve past polls Summary of changes: .../main/java/org/chorem/pollen/persistence/entity/PollTopiaDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 57ed0600c122efe4a8ac50ddc90cc0d0cae898a0 Author: Cécilia Bossard <bossard@codelutin.com> Date: Mon Aug 17 14:05:24 2020 +0200 PollList filter : correct sql request to retrieve past polls --- .../main/java/org/chorem/pollen/persistence/entity/PollTopiaDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pollen-persistence/src/main/java/org/chorem/pollen/persistence/entity/PollTopiaDao.java b/pollen-persistence/src/main/java/org/chorem/pollen/persistence/entity/PollTopiaDao.java index 32c2d433..5910d2af 100644 --- a/pollen-persistence/src/main/java/org/chorem/pollen/persistence/entity/PollTopiaDao.java +++ b/pollen-persistence/src/main/java/org/chorem/pollen/persistence/entity/PollTopiaDao.java @@ -147,7 +147,7 @@ public class PollTopiaDao extends AbstractPollTopiaDao<Poll> { case "PAST": parameters.put("today", new Date()); return "poll." + Poll.PROPERTY_END_DATE + " IS NOT NULL " - + " AND poll." + Poll.PROPERTY_END_DATE + " >= :today "; + + " AND poll." + Poll.PROPERTY_END_DATE + " <= :today "; case "CURRENT": parameters.put("today", new Date()); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm