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:
parent
1dc3bee6b9
commit
c3f8b428dd
3 changed files with 115 additions and 4 deletions
|
@ -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)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue