samvera / hydra-works

A ruby gem implementation of the PCDM Works domain model based on the Samvera software stack
Other
24 stars 14 forks source link

If a FileSet's title property isn't set, it should delegate title to its original_file's filename #325

Open escowles opened 7 years ago

escowles commented 7 years ago

You can set a title property on a FileSet, but it's common to have this simply be the original_file's filename. This can get out of sync (e.g., if you replace the content with a file with a different file, the title isn't updated).

We should not set the title explicitly, and if there is no title property set, then we should return the original_file's filename value.