summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2023-04-07 13:34:24 +0200
committerGitHub <noreply@github.com>2023-04-07 13:34:24 +0200
commit393e14965acbf0c9a1942a249a55705be9881918 (patch)
tree7695faab05ae377a241b0f9531b5faf93405b84c /searx/webapp.py
parent53c154e2b1f304cc624142dff7bde30120efc029 (diff)
parent8f79dd7659a3d837108b402dcd482910d55b57d8 (diff)
Merge pull request #2326 from return42/ungrouped
[mod] clarify the difference of the default category and subgrouping
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-xsearx/webapp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 4ed6c2eb7..64a5c8452 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -63,7 +63,7 @@ from searx.settings_defaults import OUTPUT_FORMATS
from searx.settings_loader import get_default_settings_path
from searx.exceptions import SearxParameterException
from searx.engines import (
- OTHER_CATEGORY,
+ DEFAULT_CATEGORY,
categories,
engines,
engine_shortcuts,
@@ -435,7 +435,7 @@ def render(template_name: str, **kwargs):
kwargs['method'] = request.preferences.get_value('method')
kwargs['categories_as_tabs'] = list(settings['categories_as_tabs'].keys())
kwargs['categories'] = _get_enable_categories(categories.keys())
- kwargs['OTHER_CATEGORY'] = OTHER_CATEGORY
+ kwargs['DEFAULT_CATEGORY'] = DEFAULT_CATEGORY
# i18n
kwargs['sxng_locales'] = [l for l in sxng_locales if l[0] in settings['search']['languages']]