mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-16 18:01:38 +00:00
parent
afe486531d
commit
d8e961bdb5
3 changed files with 16 additions and 0 deletions
|
@ -567,6 +567,9 @@ class EntryController extends Controller
|
|||
}
|
||||
}
|
||||
|
||||
$nbEntriesUntagged = $this->get('wallabag_core.entry_repository')
|
||||
->countUntaggedEntriesByUser($this->getUser()->getId());
|
||||
|
||||
return $this->render(
|
||||
'WallabagCoreBundle:Entry:entries.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
|
@ -574,6 +577,7 @@ class EntryController extends Controller
|
|||
'currentPage' => $page,
|
||||
'searchTerm' => $searchTerm,
|
||||
'isFiltered' => $form->isSubmitted(),
|
||||
'nbEntriesUntagged' => $nbEntriesUntagged,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue