diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-10-24 19:46:12 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-10-24 19:46:12 +0300 |
commit | 0583bf6df0f1a7b8bc1336f42d028923b3c600fe (patch) | |
tree | bc56fac59ddc743b6f3f77f380be8a2d293416dc /models/checklists.js | |
parent | d446075239b9ceca8ebb558640b6d7c51ad6b36e (diff) | |
download | wekan-0583bf6df0f1a7b8bc1336f42d028923b3c600fe.tar.gz wekan-0583bf6df0f1a7b8bc1336f42d028923b3c600fe.tar.bz2 wekan-0583bf6df0f1a7b8bc1336f42d028923b3c600fe.zip |
REST API: [Allow to remove the full list of labels/members through the API](https://github.com/wekan/wekan/pull/1968), with Apache I-CLA:
- [Models: Cards: an empty string in members or label deletes the list](https://github.com/wekan/wekan/commit/e5949504b7ed42ad59742d2a0aa001fe6c762873).
There is currently no way to remove all members or all labels attached
to a card. If an empty string is provided, we can consider as a hint to
remove the list from the card.
- [Models: Cards: allow singletons to be assigned to members and labelIds](https://github.com/wekan/wekan/commit/2ce1ba37a1d0a09f8b3d2a1db4c8a11d1f98caa0).
If we need to set only one member or one label, the data provided will
not give us an array, but the only element as a string.
We need to detect that and convert the parameter into an array.
Thanks to bentiss !
Diffstat (limited to 'models/checklists.js')
0 files changed, 0 insertions, 0 deletions