Show More
@@ -33,7 +33,7 b' def assert_and_get_main_filter_content(r' | |||||
33 | if data_item['type'] == 'search': |
|
33 | if data_item['type'] == 'search': | |
34 | display_val = data_item['value_display'] |
|
34 | display_val = data_item['value_display'] | |
35 | if data_item['id'] == -1: |
|
35 | if data_item['id'] == -1: | |
36 | assert 'File search for:' in display_val, display_val |
|
36 | assert 'File content search for:' in display_val, display_val | |
37 | elif data_item['id'] == -2: |
|
37 | elif data_item['id'] == -2: | |
38 | assert 'Commit search for:' in display_val, display_val |
|
38 | assert 'Commit search for:' in display_val, display_val | |
39 | else: |
|
39 | else: |
@@ -453,7 +453,7 b' class HomeView(BaseAppView, DataGridAppV' | |||||
453 | qry = query |
|
453 | qry = query | |
454 | return {'q': qry, 'type': 'content'} |
|
454 | return {'q': qry, 'type': 'content'} | |
455 |
|
455 | |||
456 | label = u'File search for `{}`'.format(h.escape(query)) |
|
456 | label = u'File content search for `{}`'.format(h.escape(query)) | |
457 | file_qry = { |
|
457 | file_qry = { | |
458 | 'id': -10, |
|
458 | 'id': -10, | |
459 | 'value': query, |
|
459 | 'value': query, | |
@@ -497,7 +497,7 b' class HomeView(BaseAppView, DataGridAppV' | |||||
497 | qry = query |
|
497 | qry = query | |
498 | return {'q': qry, 'type': 'content'} |
|
498 | return {'q': qry, 'type': 'content'} | |
499 |
|
499 | |||
500 | label = u'File search for `{}`'.format(query) |
|
500 | label = u'File content search for `{}`'.format(query) | |
501 | file_qry = { |
|
501 | file_qry = { | |
502 | 'id': -30, |
|
502 | 'id': -30, | |
503 | 'value': query, |
|
503 | 'value': query, | |
@@ -541,7 +541,7 b' class HomeView(BaseAppView, DataGridAppV' | |||||
541 | { |
|
541 | { | |
542 | 'id': -1, |
|
542 | 'id': -1, | |
543 | 'value': query, |
|
543 | 'value': query, | |
544 | 'value_display': u'File search for: `{}`'.format(query), |
|
544 | 'value_display': u'File content search for: `{}`'.format(query), | |
545 | 'value_icon': '<i class="icon-code"></i>', |
|
545 | 'value_icon': '<i class="icon-code"></i>', | |
546 | 'type': 'search', |
|
546 | 'type': 'search', | |
547 | 'subtype': 'global', |
|
547 | 'subtype': 'global', |
General Comments 0
You need to be logged in to leave comments.
Login now