Skip to content

Commit

Permalink
Merge pull request #5109 from sul-dlss/fix_report
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo authored Jul 25, 2024
2 parents 3096c53 + fd8bd89 commit cc889fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/reports/preservation_versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def self.report

def report
# Objects with a closed version, indicating they have been accessioned.
data = RepositoryObject.joins(:head_version).where.not(last_closed_version: nil).pluck(:external_identifier, :version)
data = RepositoryObject.joins(:last_closed_version).where.not(last_closed_version: nil).pluck(:external_identifier, :version)

progress_bar = tty_progress_bar(data.length)
progress_bar.start
Expand Down

0 comments on commit cc889fb

Please sign in to comment.