View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022316 | mantisbt | code cleanup | public | 2017-02-04 11:52 | 2017-02-26 21:17 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 2.1.0 | ||||
Target Version | 2.2.0 | Fixed in Version | 2.2.0 | ||
Summary | 0022316: Duplicate code to display the filter view type toggle menu item | ||||
Description | There is some duplicated code (in filter_api.php, manage_filter_edit_page.php and view_filters_page.php) to handle display of filter view type toggle. | ||||
Tags | No tags attached. | ||||
MantisBT: master 4edd0b37 2017-02-04 06:38 Details Diff |
Refactor printing of filter view type toggle Define a new API function filter_print_view_type_toggle() to avoid duplicating code to handle display of the menu item to switch between simple and advanced filter modes Fixes 0022316 |
Affected Issues 0022316 |
|
mod - core/filter_api.php | Diff File | ||
mod - manage_filter_edit_page.php | Diff File | ||
mod - view_filters_page.php | Diff File |