Actions
Defect #46
closedList Issues export to pdf error
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
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:
Index: app/controllers/projects_controller.rb
===================================================================
--- 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
Actions