mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-03 13:59:26 +00:00
Merge pull request #5379 from wallabag/fix-search-homepage
Fixed search on homepage
This commit is contained in:
commit
ca845b3204
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue