web/controller.py
changeset 6542 f13c47ac9137
parent 5890 141b935a38fc
child 6866 51d7868264b1
equal deleted inserted replaced
6540:91f598ba357b 6542:f13c47ac9137
    89             if not isinstance(rql, unicode):
    89             if not isinstance(rql, unicode):
    90                 rql = unicode(rql, req.encoding)
    90                 rql = unicode(rql, req.encoding)
    91             pp = req.vreg['components'].select_or_none('magicsearch', req)
    91             pp = req.vreg['components'].select_or_none('magicsearch', req)
    92             if pp is not None:
    92             if pp is not None:
    93                 return pp.process_query(rql)
    93                 return pp.process_query(rql)
    94         if 'eid' in req.form:
    94         if 'eid' in req.form and not isinstance(req.form['eid'], list):
    95             return req.eid_rset(req.form['eid'])
    95             return req.eid_rset(req.form['eid'])
    96         return None
    96         return None
    97 
    97 
    98     def notify_edited(self, entity):
    98     def notify_edited(self, entity):
    99         """called by edit_entity() to notify which entity is edited"""
    99         """called by edit_entity() to notify which entity is edited"""