Remove useless intermediate variable search_kwargs.
This commit is contained in:
parent
7eb095e17c
commit
c0f24732e1
1 changed files with 1 additions and 2 deletions
|
@ -453,14 +453,13 @@ def get_search_core():
|
||||||
@session_manager.give_token
|
@session_manager.give_token
|
||||||
def get_search_html():
|
def get_search_html():
|
||||||
search_results = get_search_core()
|
search_results = get_search_core()
|
||||||
search_kwargs = search_results['search_kwargs']
|
|
||||||
response = common.render_template(
|
response = common.render_template(
|
||||||
request,
|
request,
|
||||||
'search.html',
|
'search.html',
|
||||||
next_page_url=search_results['next_page_url'],
|
next_page_url=search_results['next_page_url'],
|
||||||
prev_page_url=search_results['prev_page_url'],
|
prev_page_url=search_results['prev_page_url'],
|
||||||
results=search_results['results'],
|
results=search_results['results'],
|
||||||
search_kwargs=search_kwargs,
|
search_kwargs=search_results['search_kwargs'],
|
||||||
total_tags=search_results['total_tags'],
|
total_tags=search_results['total_tags'],
|
||||||
warnings=search_results['warnings'],
|
warnings=search_results['warnings'],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue