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