Skip to content

Commit

Permalink
Merge pull request #824 from datacite/citations-realtion-fix
Browse files Browse the repository at this point in the history
Fix Wrong relationtypes
  • Loading branch information
kjgarza authored Jun 29, 2022
2 parents 8cf7c9a + bed6581 commit 3d73de9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ class Event < ApplicationRecord
].freeze

# renamed to make it clearer that these relation types are grouped together as references
REFERENCE_RELATION_TYPES = %w[cites is-supplement-to references].freeze
REFERENCE_RELATION_TYPES = %w[cites is-supplemented-by references].freeze

# renamed to make it clearer that these relation types are grouped together as citations
CITATION_RELATION_TYPES = %w[is-cited-by is-supplemented-by is-referenced-by].freeze
CITATION_RELATION_TYPES = %w[is-cited-by is-supplement-to is-referenced-by].freeze

RELATIONS_RELATION_TYPES = %w[
compiles
Expand Down

0 comments on commit 3d73de9

Please sign in to comment.