forked from wallabag/wallabag
Fixed search on homepage
This commit is contained in:
@ -88,7 +88,7 @@ class EntryRepository extends EntityRepository
|
|||||||
|
|
||||||
if ('starred' === $currentRoute) {
|
if ('starred' === $currentRoute) {
|
||||||
$qb->andWhere('e.isStarred = true');
|
$qb->andWhere('e.isStarred = true');
|
||||||
} elseif ('unread' === $currentRoute) {
|
} elseif ('unread' === $currentRoute || 'homepage' === $currentRoute) {
|
||||||
$qb->andWhere('e.isArchived = false');
|
$qb->andWhere('e.isArchived = false');
|
||||||
} elseif ('archive' === $currentRoute) {
|
} elseif ('archive' === $currentRoute) {
|
||||||
$qb->andWhere('e.isArchived = true');
|
$qb->andWhere('e.isArchived = true');
|
||||||
|
|||||||
Reference in New Issue
Block a user