mirror of
https://github.com/wallabag/wallabag.git
synced 2025-10-05 19:31:02 +00:00
Fix tests
This commit is contained in:
parent
5077c46e4e
commit
9f6414785c
3 changed files with 10 additions and 14 deletions
|
@ -193,7 +193,7 @@ class TagController extends Controller
|
|||
}
|
||||
|
||||
/**
|
||||
* Tag search results with the current search term
|
||||
* Tag search results with the current search term.
|
||||
*
|
||||
* @Route("/tag/search/{filter}", name="tag_this_search")
|
||||
*
|
||||
|
@ -201,7 +201,7 @@ class TagController extends Controller
|
|||
*/
|
||||
public function tagThisSearchAction($filter, Request $request)
|
||||
{
|
||||
$currentRoute = (null !== $request->query->get('currentRoute') ? $request->query->get('currentRoute') : '');
|
||||
$currentRoute = $request->query->has('currentRoute') ? $request->query->get('currentRoute') : '';
|
||||
|
||||
/** @var QueryBuilder $qb */
|
||||
$qb = $this->get('wallabag_core.entry_repository')->getBuilderForSearchByUser($this->getUser()->getId(), $filter, $currentRoute);
|
||||
|
|
|
@ -237,7 +237,7 @@ entry:
|
|||
toogle_as_star: Toggle starred
|
||||
delete: Delete
|
||||
export_title: Export
|
||||
assign_search_tag: Assign this search to results
|
||||
assign_search_tag: Assign this search as a tag to each result
|
||||
filters:
|
||||
title: Filters
|
||||
status_label: Status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue