lib/api/projects.rb
# EE::API::Projects would override this method
:API::Projects would override this method
: API :: Projects would override this method
def apply_filters(projects)
        projects = projects.with_issues_available_for_user(current_user) if params[:with_issues_enabled]
        projects = projects.with_merge_requests_enabled if params[:with_merge_requests_enabled]
        projects = projects.with_statistics if params[:statistics]
        lang = params[:with_programming_language]
        projects = projects.with_programming_language(lang) if lang
        projects
      end
def apply_filters ( projects ) projects = projects . with_issues_available_for_user ( current_user ) if params [ :with_issues_enabled ] projects = projects . with_merge_requests_enabled if params [ :with_merge_requests_enabled ] projects = projects . with_statistics if params [ :statistics ] lang = params [ :with_programming_language ] projects = projects . with_programming_language ( lang ) if lang projects end
EE::API::Projects would override this method
EE :: API :: Projects would override this method
projects
<not_specific>