View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016358 | mantisbt | filters | public | 2013-09-04 08:36 | 2017-10-08 23:52 |
Reporter | tniemi | Assigned To | cproensa | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.15 | ||||
Target Version | 2.7.0 | Fixed in Version | 2.7.0 | ||
Summary | 0016358: Custom field filter does not recusrively read all items from sub-projects | ||||
Description | Filter combo box does not include custom field strings from the sub-projects. | ||||
Steps To Reproduce | Create project stucture: Define Custom field (String) to all projects. Create issue to all projects and define unique value for each issue per each project. Select project Test_root, View Issues and open filter for a custom field. Filter combobox will contain only items from Test_root and sub-projects are excluded. This is not logical to user because Mantis Issues are shown recursively when Test_root is selected. | ||||
Additional Information | core/custom_field_api.php function custom_field_distinct_values() does not go though the sub project when ALL_PROJECTS != $p_project_id | ||||
Tags | No tags attached. | ||||
As a workaround used this patch. Please note that this does not work if custom field is not linked in parent project. It work only when parent has custom field enabled and it will lookup the same custom fields from any subproject. <pre>
|
|
MantisBT: master 19fb937b 2017-08-15 15:36 Committer: dregad Details Diff |
Get custom fields values from a list of projects Extend custom_field_distinct_values() to allow a list of projects to get values from. Extend the custom fields filter input to show values from all the projects included in the filter scope, which may also include subprojects. Fixes: 0016358 |
Affected Issues 0016358 |
|
mod - core/custom_field_api.php | Diff File | ||
mod - core/filter_form_api.php | Diff File |