Skip to content

Commit

Permalink
Merge branch 'release/0.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
ewlarson committed Oct 23, 2023
2 parents f8ac73e + 4578de2 commit 70bb9a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/models/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ def dct_references_s_to_csv(key, destination)
end

def current_version
versions.last.index
# Will return 0 if no PaperTrail version exists yet
versions&.last&.index || 0
end

# Institutional Access URLs
Expand Down
2 changes: 1 addition & 1 deletion lib/geoblacklight_admin/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module GeoblacklightAdmin
VERSION = "0.3.1"
VERSION = "0.3.2"
end

0 comments on commit 70bb9a9

Please sign in to comment.