mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-22 17:11:07 +00:00
Merge pull request #5379 from wallabag/fix-search-homepage
Fixed search on homepage
This commit is contained in:
commit
ca845b3204
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue