View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010891 | mantisbt | customization | public | 2009-08-31 11:11 | 2010-04-23 23:22 |
Reporter | mbariola | Assigned To | dhx | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 1.1.8 | ||||
Summary | 0010891: view_all_bug_page.php : Projection column does not correctly display language strings | ||||
Description | Hello, I wanted to add the "projection" column to the issue list in my Mantis installation. Unfortunately, the system does not fetch the strings corresponding to the projection levels, while it correctly does so on the issue details page. Please check the attached pic. This is what I added to my conf files: config_inc.php: $g_projection_enum_string = '10:none,70:major rework,90:redesign'; strings_italian.txt: $s_projection_enum_string = "10:nessuna,70:complesso,90:molto complesso"; I don't understand the reason why the strings are also present in the config_inc.php file .. :-) but all other, similar modifications I made worked smoothly, and indeed the correct strings (nessuna, compleso, molto complesso) appear in the issue details page; they simply do not show up on the issue list page. Am I doing something wrong? Cheers, M. | ||||
Steps To Reproduce | append this to config_inc.php: $g_projection_enum_string = '10:none,70:major rework,90:redesign'; and this to strings_italian.txt: $s_projection_enum_string = "10:nessuna,70:complesso,90:molto complesso"; visit /view_all_bug_page.php on your mantis installation | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Forgot this line ... $g_view_issues_page_columns = array ( 'selection', 'edit', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category', 'severity', 'status', 'eta', 'date_submitted', 'last_updated', 'summary' ); |
|
Hi! I wanted this too - I fixed this in 1.1.8 by adding a custom_function_override_print_column_value() function to custom_functions_inc.php... I've pasted the code below - I'm sure it doesn't look great but your editor should be able to help with that. ;) function custom_function_override_print_column_value( $p_column, $p_issue_row, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { |
|
I believe this has already been fixed as part of 0010816 If you upgrade to 1.2.0RC2 or later you shouldn't see this problem any more. If you do, please let me know (add a note to this ticket or open a new bug report). Thanks. |
|