View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005943 | mantisbt | filters | public | 2005-07-15 14:00 | 2005-07-23 02:09 |
Reporter | PatPowerMan | Assigned To | thraxisp | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.0a3 | ||||
Fixed in Version | 1.0.0rc1 | ||||
Summary | 0005943: I can't print some selected Issues (only all) | ||||
Description | I would like to select one ore more issues from the "View Issues"-grid and then press the "Print Reports"-URL to select the output format (excel, word, HTML). But my selection (chechboxes or filtered) has no function, all the issues will appear again on the output-page. The same "ignorance" here: If I check some checkboxes on the left side from the Issues, they are ignored. I can only output all issues. The only difference I found: | ||||
Additional Information | It could be some error with 'counting'. I can see the this URL for the export-icon: a) Single export The issue has the id 1, but exported is id 2! b) Multiple export The issues id 2, 3 and 4 will be exported! | ||||
Tags | No tags attached. | ||||
I think, I've found a 'quick&dirty'-solution: In the \print_all_bug_page_word.php search for this 2 lines (lines 112/113) display the available and selected bugsif ( isset( $t_bug_arr_sort[$j] ) || ( $f_show_flag==0 )) { and replace it with: $filtered_bug_id = $t_bug_arr_sort[ ($result[$j]['id']) ]; In the \print_all_bug_page_excel.php search for this line (164) if ( isset( $t_bug_arr_sort[$i] ) || ( $f_show_flag==0 ) ) { and replace it with: $filtered_bug_id = $t_bug_arr_sort[ ($result[$i]['id']) ]; display the available and selected bugsif ( isset( $filtered_bug_id ) xor ( $f_show_flag==0 ) ) { Could someone check this and tell me, if it really works? |
|
Fixed in CVS. print_all_bug_page_excel.php -> 1.49 |
|