mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
#6815 checked the number of every new card, but a card also enters a board's numbering by an update: a move from the browser, which computed the destination number from the cards it had loaded (often none, so 1), a restore from the archive, and a number set by the REST API or an import. A before-update hook now does what the insert hook does: a taken number is replaced by a fresh one from the board's counter, a free one is kept and the counter raised past it. Thanks to Raymond-Voogt and xet7 ! Fixes #6858,