View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005700 | mantisbt | filters | public | 2005-06-02 07:27 | 2005-07-23 02:31 |
| Reporter | polzin | Assigned To | thraxisp | ||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | git trunk | ||||
| Fixed in Version | 1.0.0rc1 | ||||
| Summary | 0005700: Hide Status of "none" doesn't render properly for old filters | ||||
| Description | Even the fix for 0005687 has a problem with filters saved with older versions of mantis. See attachment. | ||||
| Tags | No tags attached. | ||||
| Attached Files | filter_api.patch (750 bytes)
Index: core/filter_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/filter_api.php,v
retrieving revision 1.112
diff -u -r1.112 filter_api.php
--- core/filter_api.php 1 Jun 2005 01:38:03 -0000 1.112
+++ core/filter_api.php 3 Jun 2005 11:12:26 -0000
@@ -1398,7 +1398,8 @@
if ( 'simple' == $t_view_type ) {
$t_output = '';
$t_none_found = false;
- if ( count( $t_filter['hide_status'] ) == 0 ) {
+ # 2b, fix for old filters
+ if ( count( $t_filter['hide_status'] ) == 0 || $t_filter['hide_status'][0] == META_FILTER_ANY ) {
PRINT lang_get( 'none' );
} else {
$t_first_flag = true;
| ||||