diff --git a/rhodecode/controllers/search.py b/rhodecode/controllers/search.py --- a/rhodecode/controllers/search.py +++ b/rhodecode/controllers/search.py @@ -28,20 +28,18 @@ import urllib from pylons.i18n.translation import _ from pylons import request, config, tmpl_context as c +from whoosh.index import open_dir, EmptyIndexError +from whoosh.qparser import QueryParser, QueryParserError +from whoosh.query import Phrase, Wildcard, Term, Prefix +from webhelpers.util import update_params + from rhodecode.lib.auth import LoginRequired from rhodecode.lib.base import BaseRepoController, render from rhodecode.lib.indexers import CHGSETS_SCHEMA, SCHEMA, CHGSET_IDX_NAME, \ IDX_NAME, WhooshResultWrapper - -from webhelpers.paginate import Page -from webhelpers.util import update_params - -from whoosh.index import open_dir, EmptyIndexError -from whoosh.qparser import QueryParser, QueryParserError -from whoosh.query import Phrase, Wildcard, Term, Prefix from rhodecode.model.repo import RepoModel from rhodecode.lib.utils2 import safe_str, safe_int - +from rhodecode.lib.helpers import Page log = logging.getLogger(__name__)