Skip to content

Commit

Permalink
NEXT-1264 - run test version within 'test' environment
Browse files Browse the repository at this point in the history
  • Loading branch information
marquis committed Oct 5, 2016
1 parent 2783fda commit bbb41aa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/helpers/display_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,11 @@ def catalog_to_openurl_ctx_kev(document)
else
# NEXT-1264 - Zotero shows "unknown" author for edited works
# (contradicts NEXT-606, see discussion in ticket)
fields.push("rft.au=#{ CGI.escape('unknown') }")
# fields.push("rft.au=")
if Rails.env == 'clio_test'
fields.push("rft.au=")
else
fields.push("rft.au=#{ CGI.escape('unknown') }")
end
end

document[ :title_display] && Array.wrap(document[ :title_display]).each do |title|
Expand Down

0 comments on commit bbb41aa

Please sign in to comment.