List Issues export to pdf error
When the list of issues comes from a custom query the export to pdf generate an error.
This is probably due to the new feature of addiing custom_fields to the query.
This problem is fixed with the following patch:
--- app/controllers/projects_controller.rb (revision 448)
+++ app/controllers/projects_controller.rb (working copy)
@ -337,7 +338,7 @
render :action => 'list_issues' and return unless @query.valid?
@issues = Issue.find :all, :order => sort_clause,
- :include => [ :author, :status, :tracker, :priority ],
+ :include => [ :author, :status, :tracker, :priority, :custom_values ],
:conditions => @query.statement,
:limit => Setting.issues_export_limit