Browse Source

[search] The app can be blacklisted without crashing

Romain Rigaux 11 năm trước cách đây
mục cha
commit
b4fb6ac
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      desktop/core/src/desktop/templates/common_header.mako

+ 1 - 1
desktop/core/src/desktop/templates/common_header.mako

@@ -390,7 +390,7 @@ from django.utils.translation import ugettext as _
        </li>
        % endif
        % if 'search' in apps:
-         <%! from search.search_controller import SearchController %>
+         <% from search.search_controller import SearchController %>
          <% collections = SearchController(user).get_search_collections() %>
          % if not collections:
            <li>