mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 17:41:01 +00:00
Merge pull request #4878 from wallabag/fix-hash-query
This commit is contained in:
commit
0140b0c262
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