Remove unnecessary intermediate variable view.
This commit is contained in:
parent
71e87f83f7
commit
199a4af658
1 changed files with 1 additions and 2 deletions
|
@ -422,8 +422,7 @@ def get_search_core():
|
||||||
else:
|
else:
|
||||||
prev_page_url = None
|
prev_page_url = None
|
||||||
|
|
||||||
view = request.args.get('view', 'grid')
|
search_kwargs['view'] = request.args.get('view', 'grid')
|
||||||
search_kwargs['view'] = view
|
|
||||||
|
|
||||||
final_results = {
|
final_results = {
|
||||||
'next_page_url': next_page_url,
|
'next_page_url': next_page_url,
|
||||||
|
|
Loading…
Reference in a new issue