Fix ajaxfunc "get_concerned_by" method
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 29 Oct 2019 13:25:16 +0100
changeset 125 50ff949b83be
parent 124 a37331d08afe
child 126 c97c553a2f3c
Fix ajaxfunc "get_concerned_by" method Followup eee88e4: method should be named "get_concerned_by"
cubicweb_fresh/views/__init__.py
--- a/cubicweb_fresh/views/__init__.py	Tue Oct 29 11:50:19 2019 +0100
+++ b/cubicweb_fresh/views/__init__.py	Tue Oct 29 13:25:16 2019 +0100
@@ -14,7 +14,7 @@
 
 
 @ajaxfunc(output_type='json')
-def js_get_concerned_by(self):
+def get_concerned_by(self):
     term = self._cw.form['q']
     limit = self._cw.form.get('limit', 50)
     return [{'value': eid, 'label': ref}