# global feed
scope = ["#{Project.table_name}.is_public=?", true]
end
- @find_options = {:conditions => scope, :limit => Setting.feeds_limit}
+ @find_options = {:conditions => scope, :limit => Setting.feeds_limit.to_i}
return true
end
end
@issues = Issue.find :all, :order => sort_clause,
:include => [ :assigned_to, :author, :status, :tracker, :priority, :project, {:custom_values => :custom_field} ],
:conditions => @query.statement,
- :limit => Setting.issues_export_limit
+ :limit => Setting.issues_export_limit.to_i
ic = Iconv.new(l(:general_csv_encoding), 'UTF-8')
export = StringIO.new
@issues = Issue.find :all, :order => sort_clause,
:include => [ :author, :status, :tracker, :priority, :project, :custom_values ],
:conditions => @query.statement,
- :limit => Setting.issues_export_limit
+ :limit => Setting.issues_export_limit.to_i
@options_for_rfpdf ||= {}
@options_for_rfpdf[:file_name] = "export.pdf"