Show More
@@ -32,7 +32,7 b' from rhodecode.lib.auth import (' | |||
|
32 | 32 | HasRepoGroupPermissionAny, AuthUser) |
|
33 | 33 | from rhodecode.lib.codeblocks import filenode_as_lines_tokens |
|
34 | 34 | from rhodecode.lib.index import searcher_from_config |
|
35 | from rhodecode.lib.utils2 import safe_unicode, str2bool, safe_int | |
|
35 | from rhodecode.lib.utils2 import safe_unicode, str2bool, safe_int, safe_str | |
|
36 | 36 | from rhodecode.lib.vcs.nodes import FileNode |
|
37 | 37 | from rhodecode.model.db import ( |
|
38 | 38 | func, true, or_, case, cast, in_filter_generator, String, Session, |
@@ -331,7 +331,8 b' class HomeView(BaseAppView, DataGridAppV' | |||
|
331 | 331 | { |
|
332 | 332 | 'id': obj.pull_request_id, |
|
333 | 333 | 'value': org_query, |
|
334 |
'value_display': 'pull request: `!{} - {}`'.format( |
|
|
334 | 'value_display': 'pull request: `!{} - {}`'.format( | |
|
335 | obj.pull_request_id, safe_str(obj.title[:50])), | |
|
335 | 336 | 'type': 'pull_request', |
|
336 | 337 | 'url': h.route_path('pull_requests_global', pull_request_id=obj.pull_request_id) |
|
337 | 338 | } |
@@ -785,15 +785,15 b'' | |||
|
785 | 785 | |
|
786 | 786 | - Prefix query to allow special search: |
|
787 | 787 | |
|
788 | user:admin, to search for usernames, always global | |
|
788 | <strong>user:</strong>admin, to search for usernames, always global | |
|
789 | 789 | |
|
790 | user_group:devops, to search for user groups, always global | |
|
790 | <strong>user_group:</strong>devops, to search for user groups, always global | |
|
791 | 791 | |
|
792 | pr:303, to search for pull request number, title, or description, always global | |
|
792 | <strong>pr:</strong>303, to search for pull request number, title, or description, always global | |
|
793 | 793 | |
|
794 | commit:efced4, to search for commits, scoped to repositories or groups | |
|
794 | <strong>commit:</strong>efced4, to search for commits, scoped to repositories or groups | |
|
795 | 795 | |
|
796 | file:models.py, to search for file paths, scoped to repositories or groups | |
|
796 | <strong>file:</strong>models.py, to search for file paths, scoped to repositories or groups | |
|
797 | 797 | |
|
798 | 798 | % if c.template_context['search_context']['repo_id']: |
|
799 | 799 | For advanced full text search visit: <a href="${h.route_path('search_repo',repo_name=c.template_context['search_context']['repo_name'])}">repository search</a> |
General Comments 0
You need to be logged in to leave comments.
Login now