mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-17 11:15:16 +00:00
Fixed query to fetch URL to hash
This commit is contained in:
parent
d6869fdd2f
commit
5857031262
1 changed files with 2 additions and 0 deletions
|
@ -378,7 +378,9 @@ class EntryRepository extends EntityRepository
|
|||
{
|
||||
return $this->createQueryBuilder('e')
|
||||
->where('e.hashedUrl = :empty')->setParameter('empty', '')
|
||||
->orWhere('e.hashedUrl is null')
|
||||
->andWhere('e.user = :user_id')->setParameter('user_id', $userId)
|
||||
->andWhere('e.url is not null')
|
||||
->getQuery()
|
||||
->getResult();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue