Skip to content

2022.5

Compare
Choose a tag to compare
@rococodogs rococodogs released this 29 Sep 15:36
· 152 commits to primary since this release
dadff5a

updates ✨

  • prioritize CollectionPresenter#abstract for collection descriptions on work views (#950)
  • rename "Foreign Languages and Literatures" department to "Languages and Literary Studies" (#954)

bug fixes 🐞

  • setting work.visibility = "authenticated" will now result in work.visibility == "authenticated", instead of "metadata" (#951)

notes 🎶

after deploying to production, you'll want to update all objects in the "Foreign Languages and Literatures" department to use the new name:

old_dept = 'Foreign Languages & Literatures'
new_dept = 'Languages and Literary Studies'
ActiveFedora::Base.where(academic_department_sim: [old_dept]).each do |work|
  work.academic_department = work.academic_department.map { |department| department == old_dept ? new_dept : department }
  work.save
end