View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009485 | mantisbt | filters | public | 2008-08-04 18:54 | 2014-01-25 09:46 |
Reporter | polzin | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.1.2 | ||||
Summary | 0009485: Filtering in all projects with permalink and hierachical projects does not work as expected | ||||
Description | To reproduce:
Cause in filter_api.php:
The same problem should occur, if one permalinks to a project with sub-sub-projects. My patch: Reasoning:
Alternative:
| ||||
Tags | patch | ||||
Attached Files | filter.patch (776 bytes)
Index: core/filter_api.php =================================================================== RCS file: /cvs/mantis/core/filter_api.php,v retrieving revision 1.16 diff -u -r1.16 filter_api.php --- core/filter_api.php 4 Aug 2008 22:11:52 -0000 1.16 +++ core/filter_api.php 4 Aug 2008 22:51:46 -0000 @@ -476,7 +476,9 @@ $t_project_ids = array_map( 'db_prepare_int', $t_filter['project_id'] ); } - $t_include_sub_projects = ( ( count( $t_project_ids ) == 1 ) && ( $t_project_ids[0] == META_FILTER_CURRENT ) ); + #$t_include_sub_projects = ( ( count( $t_project_ids ) == 1 ) && ( $t_project_ids[0] == META_FILTER_CURRENT ) ); + $t_include_sub_projects = true; + } log_event( LOG_FILTERING, 'FILTERING: project_ids = ' . implode( ',', $t_project_ids ) ); | ||||
has duplicate | 0008117 | closed | Wrong data in "Create Permlink" |
Rewriting filter api. Will consider this. |
|
It look like as if this relates to the problem described in Bug 0009410 and Bug 0010984 - which both describe a problem we see in our installation of Mantis as well. Is anyone currently working on that? Can we help by providing another detailled description of the issue or by being available for questions regarding this topic (how to reproduce etc.)? |
|
Unassigned after having been assigned for a long time without progress. |
|
Unassigned after having been assigned for a long time without progress. |
|