Skip to content

Commit

Permalink
Merge pull request #193 from mlibrary/bugfix-2024-10-30
Browse files Browse the repository at this point in the history
Bugfix for article full text availability
  • Loading branch information
bertrama authored Oct 30, 2024
2 parents 751f305 + 4875191 commit 3063271
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ def libkey=(data)
end

def fulltext?
@fulltext ||= @delivery['availability'].any? do |availability|
availability.include?('fulltext')
end
@fulltext ||= @delivery['availability'].include?('fulltext')
end

def link_to_resource?
Expand Down

0 comments on commit 3063271

Please sign in to comment.