gotson/komga

Bulk edit metadata number sort increment

calcul0n opened this issue · 2 comments

Steps to reproduce

  1. Select several books and click bulk edit metadata.
  2. Change the value in any of the sort number fields.
  3. Click the 'increment all by 1' icon.

Expected behavior

The number in the edited sort field should have been numerically incremented by 1.

Actual behavior

The number 1 has now been appended to each of the fields edited rather than +1 being numerically added, it seems the value here is being treated as a string and not a number.

Logs

No response

Komga version

v1.14.0

Operating system

Windows 11

Installation method

from download.komga.org

Other details

No response

Acknowledgements

  • I have searched the existing issues (open AND closed) and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have checked the FAQ.
  • I have updated the app to the latest version.
  • I will fill out all of the requested information in this form.

sounds like a Javascript quirk, everything is typed as number

🎉 This issue has been resolved in 1.14.1 (Release Notes)