summaryrefslogtreecommitdiffstats
path: root/models/boards.js
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-01-25 12:44:27 +0100
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-01-25 12:44:27 +0100
commit6c3dbc3c6f52a42ddbeeaec9bbfcc82c1c839f7d (patch)
tree29834be1c70610ea3373e03c64891a6b35569fd1 /models/boards.js
parentb5411841cf6aa33b2c0d29d85cbc795e3faa7f4f (diff)
downloadwekan-6c3dbc3c6f52a42ddbeeaec9bbfcc82c1c839f7d.tar.gz
wekan-6c3dbc3c6f52a42ddbeeaec9bbfcc82c1c839f7d.tar.bz2
wekan-6c3dbc3c6f52a42ddbeeaec9bbfcc82c1c839f7d.zip
api: new_card: add the card at the end of the list
If we keep the `0` value, the card might be inserted in the middle of the list, making it hard to find it later on. Always append the card at the end of the list by setting a sort value based on the number of cards in the list.
Diffstat (limited to 'models/boards.js')
0 files changed, 0 insertions, 0 deletions