1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-15 19:42:08 +00:00

Fix parameters in API _links

We forgot to pass them to the factory
This commit is contained in:
Jeremy Benoist 2016-10-02 15:41:08 +02:00
parent 1dc3bee6b9
commit c3f8b428dd
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
3 changed files with 115 additions and 4 deletions

View file

@ -128,7 +128,7 @@ class EntryRepository extends EntityRepository
$qb->andWhere('e.isStarred =:isStarred')->setParameter('isStarred', (bool) $isStarred);
}
if ($since >= 0) {
if ($since > 0) {
$qb->andWhere('e.updatedAt > :since')->setParameter('since', new \DateTime(date('Y-m-d H:i:s', $since)));
}