|
a/Allura/allura/controllers/search.py |
|
b/Allura/allura/controllers/search.py |
|
... |
|
... |
14 |
class W:
|
14 |
class W:
|
15 |
project_summary = plw.ProjectSummary()
|
15 |
project_summary = plw.ProjectSummary()
|
16 |
|
16 |
|
17 |
class SearchController(BaseController):
|
17 |
class SearchController(BaseController):
|
18 |
|
18 |
|
19 |
@expose('allura.templates.search_index')
|
19 |
@expose('jinja:search_index.html')
|
20 |
@validate(dict(q=V.UnicodeString(),
|
20 |
@validate(dict(q=V.UnicodeString(),
|
21 |
history=V.StringBool(if_empty=False)))
|
21 |
history=V.StringBool(if_empty=False)))
|
22 |
@with_trailing_slash
|
22 |
@with_trailing_slash
|
23 |
def index(self, q=None, history=False, **kw):
|
23 |
def index(self, q=None, history=False, **kw):
|
24 |
results = []
|
24 |
results = []
|