From f664af752dea357ca5c858a4e73d70b5ef329967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 3 Aug 2021 11:54:36 +0200 Subject: [PATCH] Fixed search on homepage --- src/Wallabag/CoreBundle/Repository/EntryRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index 3beda9251..0adfd69d6 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php @@ -88,7 +88,7 @@ class EntryRepository extends EntityRepository if ('starred' === $currentRoute) { $qb->andWhere('e.isStarred = true'); - } elseif ('unread' === $currentRoute) { + } elseif ('unread' === $currentRoute || 'homepage' === $currentRoute) { $qb->andWhere('e.isArchived = false'); } elseif ('archive' === $currentRoute) { $qb->andWhere('e.isArchived = true');