mirror of
https://github.com/searxng/searxng.git
synced 2025-08-01 17:42:21 +02:00
[mod] move some code from webapp module to webutils module (no functional change)
Over the years the webapp module became more and more a mess. To improve the modulaization a little this patch moves some implementations from the webapp module to webutils module. HINT: this patch brings non functional change Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
71b6ff07ca
commit
fa1ef9a07b
7 changed files with 164 additions and 131 deletions
|
@ -57,7 +57,7 @@ class StandaloneSearx(SearxTestCase):
|
|||
'suggestions': [],
|
||||
'answers': [],
|
||||
'paging': False,
|
||||
'results_number': 0,
|
||||
'number_of_results': 0,
|
||||
},
|
||||
)
|
||||
|
||||
|
@ -73,7 +73,7 @@ class StandaloneSearx(SearxTestCase):
|
|||
'infoboxes': m_search.infoboxes,
|
||||
'paging': m_search.paging,
|
||||
'results': m_search.get_ordered_results(),
|
||||
'results_number': m_search.results_number(),
|
||||
'number_of_results': m_search.number_of_results,
|
||||
'search': {
|
||||
'lang': m_sq.lang,
|
||||
'pageno': m_sq.pageno,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue