sul-cidr / scriptchart-backend

Admin UI and API for Scriptchart
https://db.syriac.reclaim.hosting/admin
MIT License
1 stars 0 forks source link

Fix error in pages search form, modify names of downloaded archive files #21

Closed broadwell closed 5 years ago

broadwell commented 5 years ago

This update fixes a bug that was causing a 500 error when using the search field in the 'pages' view. It also modifies the format of the letter image files downloaded in a ZIP archive from the 'coordinates' list. These files will be used to generate binarized versions, and so their naming convention has been modified to follow that of the existing binarized image files: {ms_shelfmark}_{page}_{letter}_{x}_{y}_{w}_{h}.png Also, the code to generate the file download was modified to add the '.zip' extension to the file.