Defect #46
List Issues export to pdf error
| Status: | Closed | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | |||
| Target 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?
- :include => [ :author, :status, :tracker, :priority ],
+ :include => [ :author, :status, :tracker, :priority, :custom_values ],
:conditions => @query.statement,
:limit => Setting.issues_export_limit
@issues = Issue.find :all, :order => sort_clause,