annotate app/main/opinion/_action/update.lua @ 1855:080f4112b8a9
Show new suggestion button only during admission and discussion
| author |
bsw |
| date |
Thu Mar 24 10:37:44 2022 +0100 (2022-03-24) |
| parents |
4188405c2425 |
| children |
|
| rev |
line source |
|
bsw/jbe@0
|
1 local suggestion_id = param.get("suggestion_id", atom.integer)
|
|
bsw@1045
|
2 local degree = param.get("degree", atom.number)
|
|
bsw@1045
|
3 local fulfilled = param.get("fulfilled", atom.boolean)
|
|
bsw@1045
|
4
|
|
bsw@1649
|
5 return Opinion:update(suggestion_id, app.session.member_id, degree, fulfilled)
|
|
bsw/jbe@5
|
6
|