forked from Ponysearch/Ponysearch
reformated again I hope your happy ci.test
This commit is contained in:
parent
735a969ade
commit
e6fa52d13e
1 changed files with 8 additions and 2 deletions
|
@ -37,8 +37,14 @@ def clean_url(url):
|
|||
|
||||
def request(query, params):
|
||||
params['url'] = search_url + urlencode(
|
||||
{'q': query, 'filter_id': filter_id, 'page': params['pageno'], 'per_page': page_size, 'sf': sort_field,
|
||||
'sd': sort_direction}
|
||||
{
|
||||
'q': query,
|
||||
'filter_id': filter_id,
|
||||
'page': params['pageno'],
|
||||
'per_page': page_size,
|
||||
'sf': sort_field,
|
||||
'sd': sort_direction,
|
||||
}
|
||||
)
|
||||
logger.debug("query_url --> %s", params['url'])
|
||||
return params
|
||||
|
|
Loading…
Reference in a new issue