equal
deleted
inserted
replaced
13 |
13 |
14 from rql import RQLSyntaxError, BadRQLQuery, parse |
14 from rql import RQLSyntaxError, BadRQLQuery, parse |
15 from rql.nodes import Relation |
15 from rql.nodes import Relation |
16 |
16 |
17 from cubicweb import Unauthorized |
17 from cubicweb import Unauthorized |
18 from cubicweb.common.view import Component |
18 from cubicweb.view import Component |
19 |
19 |
20 LOGGER = getLogger('cubicweb.magicsearch') |
20 LOGGER = getLogger('cubicweb.magicsearch') |
21 |
21 |
22 def _get_approriate_translation(translations_found, eschema): |
22 def _get_approriate_translation(translations_found, eschema): |
23 """return the first (should be the only one) possible translation according |
23 """return the first (should be the only one) possible translation according |