mirror of
https://github.com/searxng/searxng.git
synced 2024-11-05 09:00:02 +00:00
[fix] matrixrooms.info: pagination not working properly
This commit is contained in:
parent
e1a8b8189f
commit
6096457e4d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ page_size = 20
|
|||
|
||||
|
||||
def request(query, params):
|
||||
params['url'] = f"{base_url}/search/{quote_plus(query)}/{page_size}/{params['pageno']-1}"
|
||||
params['url'] = f"{base_url}/search/{quote_plus(query)}/{page_size}/{(params['pageno']-1)*page_size}"
|
||||
return params
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue