@@ -92,7 +92,7 private | |||
|
92 | 92 | # global feed |
|
93 | 93 | scope = ["#{Project.table_name}.is_public=?", true] |
|
94 | 94 | end |
|
95 | @find_options = {:conditions => scope, :limit => Setting.feeds_limit} | |
|
95 | @find_options = {:conditions => scope, :limit => Setting.feeds_limit.to_i} | |
|
96 | 96 | return true |
|
97 | 97 | end |
|
98 | 98 | end |
@@ -297,7 +297,7 class ProjectsController < ApplicationController | |||
|
297 | 297 | @issues = Issue.find :all, :order => sort_clause, |
|
298 | 298 | :include => [ :assigned_to, :author, :status, :tracker, :priority, :project, {:custom_values => :custom_field} ], |
|
299 | 299 | :conditions => @query.statement, |
|
300 | :limit => Setting.issues_export_limit | |
|
300 | :limit => Setting.issues_export_limit.to_i | |
|
301 | 301 | |
|
302 | 302 | ic = Iconv.new(l(:general_csv_encoding), 'UTF-8') |
|
303 | 303 | export = StringIO.new |
@@ -356,7 +356,7 class ProjectsController < ApplicationController | |||
|
356 | 356 | @issues = Issue.find :all, :order => sort_clause, |
|
357 | 357 | :include => [ :author, :status, :tracker, :priority, :project, :custom_values ], |
|
358 | 358 | :conditions => @query.statement, |
|
359 | :limit => Setting.issues_export_limit | |
|
359 | :limit => Setting.issues_export_limit.to_i | |
|
360 | 360 | |
|
361 | 361 | @options_for_rfpdf ||= {} |
|
362 | 362 | @options_for_rfpdf[:file_name] = "export.pdf" |
General Comments 0
You need to be logged in to leave comments.
Login now