equal
deleted
inserted
replaced
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""" |