Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
fresh
Commits
50ff949b83be
Commit
6711c3d4
authored
Oct 29, 2019
by
Philippe Pepiot
Browse files
Fix ajaxfunc "get_concerned_by" method
Followup
eee88e429e72
: method should be named "get_concerned_by"
parent
a37331d08afe
Changes
1
Hide whitespace changes
Inline
Side-by-side
cubicweb_fresh/views/__init__.py
View file @
50ff949b
...
...
@@ -14,7 +14,7 @@ _affk.tag_subject_of(('Expense', 'spent_for', '*'),
@
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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment