Sanitize ISBN before storing them

Created on 3 February 2017, almost 8 years ago
Updated 26 May 2023, over 1 year ago

Now the ISBNs are stored how the used write them in the input field. That mean you can have in your database ISBN in lot of different format.

I think it's better to save ISBNs without any alphanumeric character. It can then be formatted when displayed. We can also change the database field in INT.

I think it's a bug because it make the data almost impossible to query.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇭Switzerland gagarine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024