Switch to unified view

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('jinja:search_index.html')
19
    @expose('jinja:allura:templates/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 = []
...
...
94
94
95
    @expose()
95
    @expose()
96
    def _lookup(self, category_name, *remainder):
96
    def _lookup(self, category_name, *remainder):
97
        return ProjectBrowseController(category_name=category_name, parent_category=self.category), remainder
97
        return ProjectBrowseController(category_name=category_name, parent_category=self.category), remainder
98
98
99
    @expose('jinja:project_list.html')
99
    @expose('jinja:allura:templates/project_list.html')
100
    @without_trailing_slash
100
    @without_trailing_slash
101
    def index(self, **kw):
101
    def index(self, **kw):
102
        c.project_summary = W.project_summary
102
        c.project_summary = W.project_summary
103
        projects, count = self._find_projects()
103
        projects, count = self._find_projects()
104
        title=self._build_title()
104
        title=self._build_title()