eprintsug / EPrintsArchivematica

Digital Preservation through EPrints-Archivematica Integration - An EPrints export plugin to Archivematica
6 stars 1 forks source link

"Needs update" is always displaying "no" on the GUI #34

Closed photomedia closed 2 years ago

photomedia commented 2 years ago

The "needs update" column seems to always display "no", even for items that have the value for "is_dirty" set to 1.

photomedia commented 2 years ago

This is caused by the fact that "is_dirty" is a "boolean" EPrints data type, but it is being set to 0 and 1 instead of 'TRUE' and 'FALSE', which breaks UI components that assume TRUE and FALSE. I will change the code now to fix this.

photomedia commented 2 years ago

Fixed with commit: https://github.com/eprintsug/EPrintsArchivematica/commit/a5cec2f57c608f129db09cc9e1cd70cef8ed1850