View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009715 | mantisbt | printing | public | 2008-10-20 08:54 | 2009-01-15 11:26 |
| Reporter | Dom75 | Assigned To | vboctor | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.1.1 | ||||
| Fixed in Version | 1.2.0a3 | ||||
| Summary | 0009715: No Target Version in the word/excel/ie export | ||||
| Description | Since the 1.1.x version, the field "target_version" has been integrated. But the field is not displayed in the print_all_bugpage*.php page. | ||||
| Tags | patch | ||||
| Attached Files | 9715.patch (1,338 bytes)
Index: core/columns_api.php
===================================================================
--- core/columns_api.php (revision 5740)
+++ core/columns_api.php (working copy)
@@ -57,6 +57,7 @@
'status',
'steps_to_reproduce',
'summary',
+ 'target_version',
'version',
'view_state',
);
Index: print_all_bug_page_word.php
===================================================================
--- print_all_bug_page_word.php (revision 5740)
+++ print_all_bug_page_word.php (working copy)
@@ -293,8 +293,30 @@
<td class="print">
<?php echo get_enum_element( 'eta', $t_bug->eta ) ?>
</td>
- <td class="print" colspan="4"> </td>
+ <td class="print-category">
+ <?php echo lang_get( 'fixed_in_version' ) ?>:
+ </td>
+ <td class="print">
+ <?php echo $t_bug->fixed_in_version ?>
+ </td>
+ <td class="print" colspan="2"> </td>
+
</tr>
+<tr class="print">
+ <td class="print-category">
+
+ </td>
+ <td class="print">
+
+ </td>
+ <td class="print-category">
+ <?php echo lang_get( 'target_version' ) ?>:
+ </td>
+ <td class="print">
+ <?php echo $t_bug->target_version ?>
+ </td>
+ <td class="print" colspan="2"> </td>
+</tr>
<?php
$t_related_custom_field_ids = custom_field_get_linked_ids( $t_bug->project_id );
foreach( $t_related_custom_field_ids as $t_custom_field_id ) {
| ||||
|
Attached a patch to implement this enhancement. Please review and check in if everything's in place. |
|
|
Did you test the CSV, Excel, View Issues, and Print Issues? I can see the patch fixing the Word export. Did the others automatically work? |
|
|
I checked and Excel, CSV, and Print Issues are fixed with this patch. Print Issues automatically worked with the Word export. (But the user needs to be add "target_version" in manage_config_columns_page.php "CSV Columns" and "Excel Columns".) |
|