diff --git a/rhodecode/apps/home/tests/__init__.py b/rhodecode/apps/home/tests/__init__.py --- a/rhodecode/apps/home/tests/__init__.py +++ b/rhodecode/apps/home/tests/__init__.py @@ -33,7 +33,7 @@ def assert_and_get_main_filter_content(r if data_item['type'] == 'search': display_val = data_item['value_display'] if data_item['id'] == -1: - assert 'File search for:' in display_val, display_val + assert 'File content search for:' in display_val, display_val elif data_item['id'] == -2: assert 'Commit search for:' in display_val, display_val else: diff --git a/rhodecode/apps/home/views.py b/rhodecode/apps/home/views.py --- a/rhodecode/apps/home/views.py +++ b/rhodecode/apps/home/views.py @@ -453,7 +453,7 @@ class HomeView(BaseAppView, DataGridAppV qry = query return {'q': qry, 'type': 'content'} - label = u'File search for `{}`'.format(h.escape(query)) + label = u'File content search for `{}`'.format(h.escape(query)) file_qry = { 'id': -10, 'value': query, @@ -497,7 +497,7 @@ class HomeView(BaseAppView, DataGridAppV qry = query return {'q': qry, 'type': 'content'} - label = u'File search for `{}`'.format(query) + label = u'File content search for `{}`'.format(query) file_qry = { 'id': -30, 'value': query, @@ -541,7 +541,7 @@ class HomeView(BaseAppView, DataGridAppV { 'id': -1, 'value': query, - 'value_display': u'File search for: `{}`'.format(query), + 'value_display': u'File content search for: `{}`'.format(query), 'value_icon': '', 'type': 'search', 'subtype': 'global',