-
- Downloads
ProjectsFinder should handle more options
Extended ProjectFinder in order to handle the following options: - current_user - which user use - project_ids_relation: int[] - project ids to use - params: - trending: boolean - non_public: boolean - starred: boolean - sort: string - visibility_level: int - tags: string[] - personal: boolean - search: string - non_archived: boolean GroupProjectsFinder now inherits from ProjectsFinder. Changed the code in order to use the new available options.
Showing
- changelogs/unreleased/28810-projectfinder-should-handle-more-options.yml 4 additions, 0 deletions...leased/28810-projectfinder-should-handle-more-options.yml
- lib/api/groups.rb 1 addition, 1 deletionlib/api/groups.rb
- lib/api/projects.rb 1 addition, 1 deletionlib/api/projects.rb
- lib/api/users.rb 1 addition, 1 deletionlib/api/users.rb
- lib/api/v3/groups.rb 1 addition, 1 deletionlib/api/v3/groups.rb
- lib/api/v3/projects.rb 1 addition, 1 deletionlib/api/v3/projects.rb
- lib/api/v3/users.rb 1 addition, 1 deletionlib/api/v3/users.rb
- spec/finders/group_projects_finder_spec.rb 43 additions, 27 deletionsspec/finders/group_projects_finder_spec.rb
- spec/finders/projects_finder_spec.rb 117 additions, 11 deletionsspec/finders/projects_finder_spec.rb
Please register or sign in to comment