Project

General

Profile

Feature #306 » 0004-turns-attachment-search-on-by-default.patch

Jens Krämer, 2017-06-21 11:14

View differences:

app/controllers/search_controller.rb
24 24
    @question.strip!
25 25
    @all_words = params[:all_words] ? params[:all_words].present? : true
26 26
    @titles_only = params[:titles_only] ? params[:titles_only].present? : false
27
    @search_attachments = params[:attachments].presence || '0'
27
    @search_attachments = params[:attachments].presence || '1'
28 28
    @open_issues = params[:open_issues] ? params[:open_issues].present? : false
29 29

  
30 30
    case params[:format]
(3-3/11)