Skip to content

Commit

Permalink
filter by views, downloads, citations in works api
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Feb 19, 2020
1 parent 60afae0 commit dc01303
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/controllers/works_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ def index
prefix: params[:prefix],
user_id: params[:person_id],
resource_type_id: params[:resource_type_id],
has_citations: params[:has_citations],
has_views: params[:has_views],
has_downloads: params[:has_downloads],
schema_version: params[:schema_version],
sample_group: sample_group_field,
sample_size: params[:sample],
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dc01303

Please sign in to comment.