Skip to content

Commit

Permalink
only show findable dois in works api. #284
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jun 1, 2019
1 parent 8b5257c commit 4e0af35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/works_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ def index
sample_size: params[:sample],
page: page,
sort: sort,
random: params[:sample].present? ? true : false)
random: params[:sample].present? ? true : false,
current_user: current_user)
end

begin
Expand Down

0 comments on commit 4e0af35

Please sign in to comment.